mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
44 lines
801 B
Markdown
44 lines
801 B
Markdown
|
---
|
||
|
title: Divider 分割线
|
||
|
description:
|
||
|
type: 0
|
||
|
group: ⚙ 组件
|
||
|
menuName: Divider 分割线
|
||
|
icon:
|
||
|
order: 42
|
||
|
---
|
||
|
## 基本用法
|
||
|
|
||
|
```schema:height="200" scope="body"
|
||
|
{
|
||
|
"type": "divider"
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## 不同样式
|
||
|
|
||
|
```schema:height="200" scope="body"
|
||
|
[
|
||
|
{
|
||
|
"type": "divider"
|
||
|
},
|
||
|
{
|
||
|
"type": "divider",
|
||
|
"lineStyle": "solid"
|
||
|
}
|
||
|
]
|
||
|
```
|
||
|
|
||
|
## 属性表
|
||
|
|
||
|
| 属性名 | 类型 | 默认值 | 说明 |
|
||
|
| --------- | -------- | ---------- | ----------------------------------- |
|
||
|
| type | `string` | | `"dialog"` 指定为 Dialog 渲染器 |
|
||
|
| className | `string` | | 外层 Dom 的类名 |
|
||
|
| lineStyle | `string` | `"dashed"` | 分割线的样式,支持`dashed`和`solid` |
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|