npm
npm install yaka-components
yarn
yarn add yaka-components
import yakaComponents from "yaka-components"
const { components, layoutComponents } = yakaComponents
- Form
- ROW
- Logic
- Card
- EditTable
- Switch
- Editor
- TimePicker
- Radio
- DatePicker
- Button
- InputNumber
- Card
- CheckboxGroup
- Input
- TextArea
import { Button, InputNumber, Card, Checkbox, Input } from "igroot"
const CheckboxGroup = Checkbox.Group
import yakaComponents from "yaka-components"
const { components, layoutComponents } = yakaComponents
const oldComponents = {
...components,
Checkbox: CheckboxGroup,
Button,
Input,
InputNumber,
Card,
TextArea: Input.TextArea
}
├── README.md
├── dist 打包后的文件
│ ├── components
│ │ ├── index.js
│ │ ├── yaka-datepicker
│ │ │ └── index.js
│ │ ├── yaka-edit-table
│ │ │ ├── index.css
│ │ │ └── index.js
│ │ ├── yaka-editor
│ │ │ ├── index.css
│ │ │ └── index.js
│ │ ├── yaka-radio
│ │ │ └── index.js
│ │ ├── yaka-select
│ │ │ └── index.js
│ │ ├── yaka-switch
│ │ │ └── index.js
│ │ ├── yaka-table
│ │ │ └── index.js
│ │ └── yaka-timepicker
│ │ └── index.js
│ ├── index.js
│ └── layoutComponents
│ ├── Logic.js
│ ├── Row.js
│ ├── formBlock.js
│ └── index.js
├── lib 源码入口
│ ├── components 组件
│ │ ├── index.js
│ │ ├── yaka-datepicker 日期选择
│ │ │ └── index.jsx
│ │ ├── yaka-edit-table 可编辑表格
│ │ │ ├── index.css
│ │ │ └── index.jsx
│ │ ├── yaka-editor 富文本编辑
│ │ │ ├── index.css
│ │ │ └── index.jsx
│ │ ├── yaka-radio 单选框
│ │ │ └── index.jsx
│ │ ├── yaka-select 下拉框
│ │ │ └── index.jsx
│ │ ├── yaka-switch 开关
│ │ │ └── index.jsx
│ │ ├── yaka-table 表格
│ │ │ └── index.jsx
│ │ └── yaka-timepicker 时间选择器
│ │ └── index.jsx
│ ├── index.js 入口文件
│ └── layoutComponents 布局组件
│ ├── Logic.jsx 逻辑组件
│ ├── Row.jsx row组件
│ ├── formBlock.jsx 表单组件
│ └── index.js
└── yarn.lock
js + react + igroot
yarn publish