mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
660 B
660 B
order | title | debug | ||||
---|---|---|---|---|---|---|
9999 |
|
true |
zh-CN
测试一些 style
修改样式的行为。
en-US
Use style
to change default style.
import { Divider } from 'antd';
ReactDOM.render(
<>
<Divider style={{ borderWidth: 2, borderColor: '#7cb305' }} />
<Divider style={{ borderColor: '#7cb305' }} dashed />
<Divider style={{ borderColor: '#7cb305' }} dashed>
Text
</Divider>
<Divider type="vertical" style={{ height: 60, borderColor: '#7cb305' }} />
<Divider type="vertical" style={{ height: 60, borderColor: '#7cb305' }} dashed />
</>,
mountNode,
);