2018-05-15 01:52:44 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-08-14 03:10:37 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/basic.md correctly 1`] = `
|
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2020-08-14 03:10:37 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/custom-icon.md correctly 1`] = `
|
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2020-08-14 03:10:37 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/custom-style.md correctly 1`] = `
|
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2020-08-14 03:10:37 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/duration.md correctly 1`] = `
|
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2020-03-15 05:12:47 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/placement.md correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span role="img" aria-label="radius-upleft" class="anticon anticon-radius-upleft"><svg class="" data-icon="radius-upleft" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896" focusable="false"><path d="M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"></path></svg></span><span>topLeft</span>
|
|
|
|
</button><button class="ant-btn ant-btn-primary" type="button">
|
|
|
|
<!----><span role="img" aria-label="radius-upright" class="anticon anticon-radius-upright"><svg class="" data-icon="radius-upright" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896" focusable="false"><path d="M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z"></path></svg></span><span>topRight</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
<div class="ant-divider ant-divider-horizontal" role="separator">
|
|
|
|
<!---->
|
|
|
|
</div><button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span role="img" aria-label="radius-bottomleft" class="anticon anticon-radius-bottomleft"><svg class="" data-icon="radius-bottomleft" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896" focusable="false"><path d="M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"></path></svg></span><span>bottomLeft</span>
|
|
|
|
</button><button class="ant-btn ant-btn-primary" type="button">
|
|
|
|
<!----><span role="img" aria-label="radius-bottomright" class="anticon anticon-radius-bottomright"><svg class="" data-icon="radius-bottomright" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896" focusable="false"><path d="M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z"></path></svg></span><span>bottomRight</span>
|
|
|
|
</button>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2020-08-14 03:10:37 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/update.md correctly 1`] = `
|
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-09-05 13:28:54 +00:00
|
|
|
|
2020-08-14 03:10:37 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/with-btn.md correctly 1`] = `
|
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2020-08-14 03:10:37 +00:00
|
|
|
exports[`renders ./antdv-demo/docs/notification/demo/with-icon.md correctly 1`] = `
|
|
|
|
<div><button class="ant-btn" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Success</span>
|
|
|
|
</button><button class="ant-btn" type="button">
|
|
|
|
<!----><span>Info</span>
|
|
|
|
</button><button class="ant-btn" type="button">
|
|
|
|
<!----><span>Warning</span>
|
|
|
|
</button><button class="ant-btn" type="button">
|
|
|
|
<!----><span>Error</span>
|
|
|
|
</button></div>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|