Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Text/Icon in Switch component for checked/unchecked state #53

Open
hnagrath09 opened this issue Aug 19, 2021 · 0 comments
Open

Add Text/Icon in Switch component for checked/unchecked state #53

hnagrath09 opened this issue Aug 19, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hnagrath09
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
User should be able to add text or icon in the track of Switch component for both checked and unchecked state.
We usually see this kind of use case in theme toggles for dark/light mode.

Describe the solution you'd like
An example from ant design: https://ant.design/components/switch/#components-switch-demo-text

@hnagrath09 hnagrath09 self-assigned this Aug 19, 2021
@hnagrath09 hnagrath09 added the enhancement New feature or request label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant