I have fullscreen: () => void
prop which calls the fullscreen function. This function is not available in all browsers. What is the recommended way to convey this information to child?
- I can send another boolean prop
- I can pass NoOp and check for it in child
- ??? Anything else ???
The child will show/hide fullscreen UI element based on the value it gets
Aucun commentaire:
Enregistrer un commentaire