132 lines
6.8 KiB
Plaintext
132 lines
6.8 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/collapse/demo/accordion.md correctly 1`] = `
|
|
<div>
|
|
<div role="tablist" class="ant-collapse">
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="tab" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 1</div>
|
|
<!---->
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="tab" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 2</div>
|
|
<!---->
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="tab" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 3</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/collapse/demo/basic.md correctly 1`] = `
|
|
<div>
|
|
<div class="ant-collapse">
|
|
<div role="tablist" class="ant-collapse-item ant-collapse-item-active">
|
|
<div role="button" tabindex="0" aria-expanded="true" class="ant-collapse-header"><i class="arrow"></i>This is panel header 1</div>
|
|
<div class="ant-collapse-content ant-collapse-content-active ant-motion-collapse" style="height: 0px; opacity: 0;">
|
|
<div class="ant-collapse-content-box">
|
|
<p>A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 2</div>
|
|
<!---->
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item ant-collapse-item-disabled">
|
|
<div role="button" tabindex="-1" class="ant-collapse-header"><i class="arrow"></i>This is panel header 3</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/collapse/demo/borderless.md correctly 1`] = `
|
|
<div>
|
|
<div class="ant-collapse ant-collapse-borderless">
|
|
<div role="tablist" class="ant-collapse-item ant-collapse-item-active">
|
|
<div role="button" tabindex="0" aria-expanded="true" class="ant-collapse-header"><i class="arrow"></i>This is panel header 1</div>
|
|
<div class="ant-collapse-content ant-collapse-content-active ant-motion-collapse" style="height: 0px; opacity: 0;">
|
|
<div class="ant-collapse-content-box">
|
|
<p>A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 2</div>
|
|
<!---->
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 3</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/collapse/demo/custom.md correctly 1`] = `
|
|
<div>
|
|
<div class="ant-collapse ant-collapse-borderless">
|
|
<div role="tablist" class="ant-collapse-item ant-collapse-item-active" style="background: rgb(247, 247, 247); border-radius: 4px; margin-bottom: 24px; border: 0px; overflow: hidden;">
|
|
<div role="button" tabindex="0" aria-expanded="true" class="ant-collapse-header"><i class="arrow"></i>
|
|
This is panel header 1<i class="anticon anticon-question-circle-o"><svg viewBox="64 64 896 896" data-icon="question-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" class="">
|
|
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path>
|
|
<path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0 1 30.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"></path>
|
|
</svg></i></div>
|
|
<div class="ant-collapse-content ant-collapse-content-active ant-motion-collapse" style="height: 0px; opacity: 0;">
|
|
<div class="ant-collapse-content-box">
|
|
<p>A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item" style="background: rgb(247, 247, 247); border-radius: 4px; margin-bottom: 24px; border: 0px; overflow: hidden;">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 2</div>
|
|
<!---->
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item" style="background: rgb(247, 247, 247); border-radius: 4px; margin-bottom: 24px; border: 0px; overflow: hidden;">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 3</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/collapse/demo/mix.md correctly 1`] = `
|
|
<div>
|
|
<div class="ant-collapse">
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 1</div>
|
|
<!---->
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 2</div>
|
|
<!---->
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item">
|
|
<div role="button" tabindex="0" class="ant-collapse-header"><i class="arrow"></i>This is panel header 3</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/collapse/demo/noarrow.md correctly 1`] = `
|
|
<div>
|
|
<div class="ant-collapse">
|
|
<div role="tablist" class="ant-collapse-item ant-collapse-item-active">
|
|
<div role="button" tabindex="0" aria-expanded="true" class="ant-collapse-header"><i class="arrow"></i>This is panel header with arrow icon</div>
|
|
<div class="ant-collapse-content ant-collapse-content-active ant-motion-collapse" style="height: 0px; opacity: 0;">
|
|
<div class="ant-collapse-content-box">
|
|
<p>A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div role="tablist" class="ant-collapse-item ant-collapse-no-arrow">
|
|
<div role="button" tabindex="0" class="ant-collapse-header">This is panel header with no arrow icon</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|