0.1.23 • Published 3 years ago
react-antd-library v0.1.23
react-antd-library
📚 文档
✨ 特性
- 基于 antd 封装,开箱即用
- 包含大量提炼业务组件
- 包含丰富的基础 demo 样式
- 使用 TypeScript 构建,提供完整的类型定义文件
📦 安装
$ npm install react-antd-library --save
或者
$ yarn add react-antd-library
🔨 简单使用
/**
* title: 伸缩侧边栏
* transform: true
*/
import React from 'react';
import { SiderBar } from 'react-antd-library';
export default () => {
const siderHtml = (
<div
style={{
display: "flex",
justifyContent: "center",
alignItems: "center",
fontSize: 16,
fontWeight: "bold",
height: "100vh",
}}>
我是侧边栏,拖动中间线试试
</div>
);
const contentHtml = (
<div
style={{
display: "flex",
justifyContent: "center",
alignItems: "center",
fontSize: 16,
fontWeight: "bold",
height: "100vh",
}}>
我是内容栏
</div>
);
return (
<SiderBar
isResizable
siderRender={siderHtml}
contentRender={contentHtml}
/>
);
};
0.1.22
3 years ago
0.1.23
3 years ago
0.1.21
3 years ago
0.1.20
3 years ago
0.1.19
3 years ago
0.1.17
3 years ago
0.1.16
3 years ago
0.1.14
3 years ago
0.1.13
3 years ago
0.1.12
3 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago