# react_fullscreen_example **Repository Path**: fashenmofan/react_-full-screen_example ## Basic Information - **Project Name**: react_fullscreen_example - **Description**: 一个 React 组件,它使用 Fullscreen API 将其子级设置为全屏,使用fscreen规范化。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-13 - **Last Updated**: 2022-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 需要下载的依赖 ``` npm i react-full-screen npm i --save @fortawesome/fontawesome-svg-core npm install --save @fortawesome/free-solid-svg-icons npm install --save @fortawesome/react-fontawesome ``` ### 注意:React钩子"useFullScreenHandle"不能在顶层调用。必须在React函数组件或自定义React Hook函数的React-Hook/Hook规则中调用React Hook。 [react-full-screen](https://www.npmjs.com/package/react-full-screen) [react-fontawesome](https://fontawesome.com/v5/docs/web/use-with/react)