ant-design/components/page-header/__tests__/__snapshots__/index.test.js.snap
偏右 bfd5d7c910
fix: PageHeader style breaks when title is too long (#23133)
* fix: PageHeader style breaks when title is too long

close #15664

*  update snapshot

* 💄 Improve PageHeader responsive design
2020-04-10 19:25:31 +08:00

56 lines
1.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PageHeader pageHeader should not render blank dom 1`] = `
<div
class="ant-page-header ant-page-header-ghost"
/>
`;
exports[`PageHeader pageHeader should render correctly int RTL direction 1`] = `
<div
class="ant-page-header ant-page-header-ghost ant-page-header-rtl"
>
<div
class="ant-page-header-heading"
>
<div
class="ant-page-header-heading-left"
>
<span
class="ant-page-header-heading-title"
title="Page Title"
>
Page Title
</span>
</div>
</div>
</div>
`;
exports[`PageHeader pageHeader should support className 1`] = `
<div
class="ant-page-header not-works ant-page-header-ghost"
>
<div
class="ant-page-header-heading"
>
<div
class="ant-page-header-heading-left"
>
<span
class="ant-page-header-heading-title"
title="Page Title"
>
Page Title
</span>
</div>
</div>
</div>
`;
exports[`PageHeader rtl render component should be rendered correctly in RTL direction 1`] = `
<div
class="ant-page-header ant-page-header-ghost ant-page-header-rtl"
/>
`;