You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the toggle button styles are read from a global css file, it's impossible to style toggle buttons differently in different parts of an application. To fix this, custom styles will have to be accepted as props to the Toggle component. The react-component/slider library uses this approach of styling: https://github.com/react-component/slider#common-api.
The text was updated successfully, but these errors were encountered:
Since the toggle button styles are read from a global css file, it's impossible to style toggle buttons differently in different parts of an application. To fix this, custom styles will have to be accepted as props to the
Toggle
component. The react-component/slider library uses this approach of styling: https://github.com/react-component/slider#common-api.The text was updated successfully, but these errors were encountered: