ant-design/components/steps/__tests__/__snapshots__/demo.test.js.snap

1249 lines
23 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/steps/demo/customized-progress-dot.md correctly 1`] = `
2017-01-24 16:07:03 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-vertical ant-steps-hidden ant-steps-dot"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item ant-steps-status-finish"
style="margin-right:-1px;"
>
2017-01-24 16:07:03 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2017-01-24 16:07:03 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head-inner"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon-dot"
/>
2017-01-24 16:07:03 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-title"
>
2017-01-24 16:07:03 +08:00
Finished
</div>
<div
class="ant-steps-description"
>
2017-01-24 16:07:03 +08:00
You can hover on the dot.
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-process"
style="margin-right:-1px;"
>
2017-01-24 16:07:03 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2017-01-24 16:07:03 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head-inner"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon-dot"
/>
2017-01-24 16:07:03 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-title"
>
2017-01-24 16:07:03 +08:00
In Progress
</div>
<div
class="ant-steps-description"
>
2017-01-24 16:07:03 +08:00
You can hover on the dot.
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-wait"
style="margin-right:-1px;"
>
2017-01-24 16:07:03 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2017-01-24 16:07:03 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head-inner"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon-dot"
/>
2017-01-24 16:07:03 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-title"
>
2017-01-24 16:07:03 +08:00
Waiting
</div>
<div
class="ant-steps-description"
>
2017-01-24 16:07:03 +08:00
You can hover on the dot.
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-step"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head-inner"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon-dot"
/>
2017-01-24 16:07:03 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-title"
>
2017-01-24 16:07:03 +08:00
Waiting
</div>
<div
class="ant-steps-description"
>
2017-01-24 16:07:03 +08:00
You can hover on the dot.
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/error.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal ant-steps-hidden"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-status-finish ant-steps-next-error"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon anticon anticon-check"
/>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Finished
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-error"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon anticon anticon-cross"
/>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
In Process
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
3
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Waiting
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/icon.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal ant-steps-hidden"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-status-finish ant-steps-custom"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-12-04 16:01:45 +08:00
<i
class="anticon anticon-user"
/>
2016-12-04 16:01:45 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Login
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-finish ant-steps-custom"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-12-04 16:01:45 +08:00
<i
class="anticon anticon-solution"
/>
2016-12-04 16:01:45 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Verification
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-process ant-steps-custom"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-12-04 16:01:45 +08:00
<i
class="anticon anticon-credit-card"
/>
2016-12-04 16:01:45 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Pay
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait ant-steps-custom"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
<i
class="anticon anticon-smile-o"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Done
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/progress-dot.md correctly 1`] = `
2017-01-24 16:07:03 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-vertical ant-steps-hidden ant-steps-dot"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item ant-steps-status-finish"
style="margin-right:-1px;"
>
2017-01-24 16:07:03 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2017-01-24 16:07:03 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head-inner"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon-dot"
/>
2017-01-24 16:07:03 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-title"
>
2017-01-24 16:07:03 +08:00
Finished
</div>
<div
class="ant-steps-description"
>
2017-01-24 16:07:03 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-process"
style="margin-right:-1px;"
>
2017-01-24 16:07:03 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2017-01-24 16:07:03 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head-inner"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon-dot"
/>
2017-01-24 16:07:03 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-title"
>
2017-01-24 16:07:03 +08:00
In Progress
</div>
<div
class="ant-steps-description"
>
2017-01-24 16:07:03 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-step"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-head-inner"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon"
>
2017-01-24 16:07:03 +08:00
<span
class="ant-steps-icon-dot"
/>
2017-01-24 16:07:03 +08:00
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-title"
>
2017-01-24 16:07:03 +08:00
Waiting
</div>
<div
class="ant-steps-description"
>
2017-01-24 16:07:03 +08:00
This is a description.
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/simple.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal ant-steps-hidden"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-status-finish"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon anticon anticon-check"
/>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Finished
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-process"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
2
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
In Progress
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
3
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Waiting
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/small-size.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-small ant-steps-horizontal ant-steps-label-horizontal ant-steps-hidden"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-status-finish"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon anticon anticon-check"
/>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Finished
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-process"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
2
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
In Progress
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
3
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Waiting
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/step-next.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal ant-steps-hidden"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-status-process"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
1
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
First
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-wait"
style="margin-right:-1px;"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:1px;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
2
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Second
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
3
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Last
</div>
</div>
</div>
</div>
</div>
<div
class="steps-content"
>
2016-11-22 14:28:05 +08:00
First-content
</div>
<div
class="steps-action"
>
2016-11-22 14:28:05 +08:00
<button
class="ant-btn ant-btn-primary"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Next
</span>
</button>
</div>
</div>
`;
exports[`renders ./components/steps/demo/vertical.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-vertical ant-steps-hidden"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-status-finish"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:0;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon anticon anticon-check"
/>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Finished
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-process"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:0;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
2
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
In Progress
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
3
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Waiting
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/vertical-small.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-small ant-steps-vertical ant-steps-hidden"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-status-finish"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:0;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon anticon anticon-check"
/>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Finished
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-status-process"
>
2016-11-22 14:28:05 +08:00
<div
2017-02-28 16:14:41 +08:00
class="ant-steps-tail"
style="padding-right:0;"
>
2016-11-22 14:28:05 +08:00
<i />
</div>
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
2
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
In Progress
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
<div
2017-04-05 11:55:16 +08:00
class="ant-steps-item ant-steps-status-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-tail"
style="padding-right:0;"
>
<i />
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-step"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-head-inner"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-steps-icon"
>
2016-11-22 14:28:05 +08:00
3
</span>
</div>
</div>
<div
class="ant-steps-main"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-title"
>
2016-11-22 14:28:05 +08:00
Waiting
</div>
<div
class="ant-steps-description"
>
2016-11-22 14:28:05 +08:00
This is a description.
</div>
</div>
</div>
</div>
</div>
`;