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.
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
andaria
attributes to the createddiv
instead of having to create yet another nesteddiv
with the proper attributes.Note: I don't know if any TypeScript types need to be set, I have never used TS.