omim - update docs

This commit is contained in:
ZainChen 2019-06-18 17:08:22 +08:00
parent 43ed0cf271
commit 7d111ee345
4 changed files with 26 additions and 2 deletions

View File

@ -36,7 +36,7 @@ Chips are compact elements that allow users to enter information, select a choic
JSX:
```html
```jsx
<m-chips filter chips={[
{
text: 'checkmark with selected',

View File

@ -51,3 +51,15 @@ Spreadsheet powered by [x-spreadsheet](https://github.com/myliang/x-spreadsheet)
}}>
</m-spreadsheet>
```
## API
### Props
```jsx
{
data?: object
width?: number
height?: number
}
```

View File

@ -36,7 +36,7 @@ Chips 是紧凑的元素,允许用户输入信息、选择、过滤内容或
JSX:
```html
```jsx
<m-chips filter chips={[
{
text: 'checkmark with selected',

View File

@ -51,3 +51,15 @@ Omi 和 [x-spreadsheet](https://github.com/myliang/x-spreadsheet) 打造表格
}}>
</m-spreadsheet>
```
## API
### Props
```jsx
{
data?: object
width?: number
height?: number
}
```