react-figma-plugin-ds
react-figma-plugin-ds copied to clipboard
It seems like the checkbox switch is not a controlled component
It seems like the checkbox switch is not a controlled component. Meaning that I can't control its state from elsewhere. Eg. I can't make it switch based on the change of the state.
Any additional props are also not passed to the underlying HTML element which would have made life a bit easier