mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
206 lines
5.8 KiB
Plaintext
206 lines
5.8 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/divider/demo/customize-style.md extend context correctly 1`] = `
|
|
Array [
|
|
<div
|
|
class="ant-divider ant-divider-horizontal"
|
|
role="separator"
|
|
style="border-width:2px;border-color:#7cb305"
|
|
/>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-dashed"
|
|
role="separator"
|
|
style="border-color:#7cb305"
|
|
/>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-center ant-divider-dashed"
|
|
role="separator"
|
|
style="border-color:#7cb305"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
>
|
|
Text
|
|
</span>
|
|
</div>,
|
|
<div
|
|
class="ant-divider ant-divider-vertical"
|
|
role="separator"
|
|
style="height:60px;border-color:#7cb305"
|
|
/>,
|
|
<div
|
|
class="ant-divider ant-divider-vertical ant-divider-dashed"
|
|
role="separator"
|
|
style="height:60px;border-color:#7cb305"
|
|
/>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders ./components/divider/demo/horizontal.md extend context correctly 1`] = `
|
|
Array [
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal"
|
|
role="separator"
|
|
/>,
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-dashed"
|
|
role="separator"
|
|
/>,
|
|
<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>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders ./components/divider/demo/plain.md extend context correctly 1`] = `
|
|
Array [
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-center ant-divider-plain"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
>
|
|
Text
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left ant-divider-plain"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
>
|
|
Left Text
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-right ant-divider-plain"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
>
|
|
Right Text
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders ./components/divider/demo/vertical.md extend context correctly 1`] = `
|
|
Array [
|
|
"Text",
|
|
<div
|
|
class="ant-divider ant-divider-vertical"
|
|
role="separator"
|
|
/>,
|
|
<a
|
|
href="#"
|
|
>
|
|
Link
|
|
</a>,
|
|
<div
|
|
class="ant-divider ant-divider-vertical"
|
|
role="separator"
|
|
/>,
|
|
<a
|
|
href="#"
|
|
>
|
|
Link
|
|
</a>,
|
|
]
|
|
`;
|
|
|
|
exports[`renders ./components/divider/demo/with-text.md extend context correctly 1`] = `
|
|
Array [
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-center"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
>
|
|
Text
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
>
|
|
Left Text
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-right"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
>
|
|
Right Text
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left ant-divider-no-default-orientation-margin-left"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
style="margin-left:0"
|
|
>
|
|
Left Text with 0 orientationMargin
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
<div
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-right ant-divider-no-default-orientation-margin-right"
|
|
role="separator"
|
|
>
|
|
<span
|
|
class="ant-divider-inner-text"
|
|
style="margin-right:50px"
|
|
>
|
|
Right Text with 50px orientationMargin
|
|
</span>
|
|
</div>,
|
|
<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>,
|
|
]
|
|
`;
|