mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
1dab17eef0
* 💄 Divider support `asHeading` for lighter style * ✅ fix demo snapshot * docs: 📖 Divider asHeading documentation * fix tsd * ✅ fix demo snapshot * asHeading to plain * ✅ fix demo snapshot * fix css
881 B
881 B
order | title | ||||
---|---|---|---|---|---|
0 |
|
zh-CN
默认为水平分割线,可在中间加入文字。
en-US
Divider is horizontal
by default. You can add text within Divider.
import { Divider } from 'antd';
ReactDOM.render(
<>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
<Divider />
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
<Divider dashed />
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
</>,
mountNode,
);