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
Support labels on Toggle component #40
Comments
I can have a look on this |
Thanks @asifsha! |
thank you @asifsha! we have a contributing guide and git guide: https://github.com/gumgum/gumdrops/blob/master/CONTRIBUTING.md please let us know if you have any questions! |
Thanks for the response, |
hi @asifsha , you shouldn't need the css if you build the project locally because we have a setting in the .storybook folder that imports the css file there. you can clone the project and then run the sample code in the ticket description should be placed inside the |
Sometimes the toggle component is unclear, so having labels is easier for the user to understand, for example "on" and "off" or "yes" and "no".
We should add support for these labels in the Toggle component.
<span className="gds-form-group__toggleswitch-indicator-labels" gg-enabled-text={onText} gg-disabled-text={offText}></span>
The text was updated successfully, but these errors were encountered: