react-toolbox
react-toolbox copied to clipboard
Allow setting id
Most components allow you to specify a class: http://react-toolbox.com/#/components/tabs
Can you please also allow specifying an id?
I'm a bit curious about why you'd want this?
To give them a unique name and being able to find them by that name later on. CSS, tests, etc. Sometimes I use classes, sometimes I use ids, depending what's appropriate.
Hi there! Is this project still maintained? This is from 2017 and would be very good to have a way to uniquely identify components (for automated tests, track usage, etc).
BTW, for anyone who might have this issue, I simply added an ID attribute to the button component and it worked. It would be good to add this to the component documentation page.