@pansy/react-split-screen
v1.2.1
Published
<h1 align="center">@pansy/react-split-screen</h1>
Downloads
2
Readme
分屏组件
🏗 安装
# npm 安装
npm install --save @pansy/react-split-screen
# yarn 安装
yarn add @pansy/react-split-screen
🔨 使用
import React from 'react';
import SplitScreen from '@pansy/react-split-screen';
export default () => {
return (
<div style={{ height: 500 }}>
<SplitScreen amount={4} />>
</div>
);
};