react-switch icon indicating copy to clipboard operation
react-switch copied to clipboard

Disabled switch is not greyed out

Open ouroboroscoding opened this issue 1 year ago • 0 comments

Documentation states "When disabled, the switch will no longer be interactive and its colors will be greyed out."

But Using 7.0.0 and React 17.0.2 the following creates a green switch, nothing is greyed out.

<Switch checked={true} disabled={true} />

Screenshot from 2024-01-17 13-00-06

ouroboroscoding avatar Jan 17 '24 18:01 ouroboroscoding