FullScreen API
API reference docs for the React FullScreen component. Learn about the props and other APIs of this exported module.
Demo
Props
Name | Type | Default | Description |
---|---|---|---|
open | boolean | If true, the component is shown. | |
onClose | func | Callback fired when the component requests to be closed. | |
children | React.ReactNode | The content of the component. Tipically it is the<ImagePreview/> or the <VideoPreview/> components. |