1.2.0 • Published 6 years ago
yaka-components v1.2.0
yaka引擎专用组件
安装
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
旧版引用的igroot组件
- 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,
}