Skip to content

spade5/resize-free-react

Repository files navigation

介绍

基于 React 的页面容器,不需要处理 resize 事件。

参数

todo

用法

npm i resize-free-react

#or

yarn add resize-free-react
import ResizeFree from 'resize-free-react'
const App = () => {
    return <ResizeFree width={1920} height={1080}>
    ...your content here...
    </ResizeFree>
}

example跳转