ant-design/components/grid/__tests__/__snapshots__/index.test.js.snap
zoomdong a3f1de3293
refactor(Grid): rewrite with hook (#24976)
* refactor: hooks

* fix: lint

* update hooks

* update ref
2020-07-10 17:38:28 +08:00

51 lines
987 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Grid renders wrapped Col correctly 1`] = `
<div
class="ant-row"
style="margin-left:-10px;margin-right:-10px"
>
<div>
<div
class="ant-col ant-col-12"
style="padding-left:10px;padding-right:10px"
/>
</div>
<div
class="ant-col ant-col-12"
style="padding-left:10px;padding-right:10px"
/>
</div>
`;
exports[`Grid rtl render component should be rendered correctly in RTL direction 1`] = `
<div
class="ant-row ant-row-rtl"
/>
`;
exports[`Grid rtl render component should be rendered correctly in RTL direction 2`] = `
<div
class="ant-col ant-col-rtl"
/>
`;
exports[`Grid should render Col 1`] = `
<div
class="ant-col ant-col-2"
/>
`;
exports[`Grid should render Row 1`] = `
<div
class="ant-row"
/>
`;
exports[`Grid when typeof gutter is object array in large screen 1`] = `
<div
class="ant-row"
style="margin-left:-20px;margin-right:-20px;margin-top:-200px;margin-bottom:200px"
/>
`;