robbestad/react-iframe

README example vs typescript

Closed this issue · 1 comments

Hello! Thanks for creating this library :)
Just wanted to note that display="initial" is part of the example in the README but in node_modules/react-iframe/types.d.ts, typescript will complain that the display attribute can only have "block" | "none" | "inline".

Thanks for pointing this out. Added it to the types and also changed it the README to block