react-flip-toolkit icon indicating copy to clipboard operation
react-flip-toolkit copied to clipboard

Pass all given props to Flipper component

Open ThenTech opened this issue 1 year ago • 0 comments

Small change to pass along all other given props of Flipper to the created element.

I'm not sure why this wasn't the case already. My use case is to pass things such as role, data and aria attributes to the created div instead of having to create yet another nested div with the proper attributes.

Note: I don't know if any TypeScript types need to be set, I have never used TS.

ThenTech avatar Apr 30 '24 19:04 ThenTech