GridManager适配ant Design组件库样式
🏠 Homepage
npm install gridmanager-antdesign-skin
- 引入js包,即可使用皮肤以及皮肤内部预设的配置
<script src="../node_modules/gridmanager-antdesign-skin"></script>
或
import "gridmanager-antdesign-skin"
- react配置
import ReactGridManager from 'gridmanager-react';
import "gridmanager-antdesign-skin"
class App extends Component {
const option = {
// 正常配置即可
xxx: xxx
};
render() {
return <ReactGridManager
option={option} // 也可以将option中的配置项展开
height={'100%'} // 展开后的参数会覆盖option中的值
/>
}
}
-
npm install
-
npm run start
-
http://localhost:2020
- update package.json version
- npm run build
- cd dist
- npm publish
👤 bo.wang
- Website: https://bowang816.github.io
- Github: @BoWang816
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator