Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Components: Allow to apply isPressed prop to Button and SVG components to indicate the state of the button #17748
@gziolo - Testing with current
I did a smoke test. Now I will continue testing and checking code more closely to be sure, and come back with a final result
https://material-ui.com/api/toggle-button/ - they use selected prop for the active state
Naming is hard. The aria way to mark active/selected/pressed is aria-pressed
I agree but I also don’t seem to be the best skilled person to perform this refactor.