mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
9 lines
186 B
TypeScript
9 lines
186 B
TypeScript
|
import { useToggle } from './toggle'
|
||
|
export const useFullScreen = () => {
|
||
|
const [isFullScreen, toggleFullScreen] = useToggle()
|
||
|
return {
|
||
|
isFullScreen,
|
||
|
toggleFullScreen,
|
||
|
}
|
||
|
}
|