2019-01-03 16:00:55 +03:00
|
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[`Dialog renders correctly 1`] = `
|
|
|
|
|
<div
|
2023-07-12 21:03:20 +03:00
|
|
|
|
class="sc-jXbUNg bziNId"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<div />
|
|
|
|
|
<div>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--header"
|
|
|
|
|
>
|
|
|
|
|
<div />
|
|
|
|
|
<button>
|
|
|
|
|
×
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--body"
|
|
|
|
|
/>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--footer"
|
|
|
|
|
>
|
|
|
|
|
<div
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-dcJsrY dAhqLr"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<button
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-eqUAAy fNGiZB"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
Cancel
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-dcJsrY dAhqLr"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<button
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-eqUAAy jJvjWh"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
Submit
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Dialog renders modal 1`] = `
|
|
|
|
|
<div
|
2023-07-12 21:03:20 +03:00
|
|
|
|
class="sc-jXbUNg bziNId"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<div />
|
|
|
|
|
<div>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--header"
|
|
|
|
|
>
|
|
|
|
|
<div />
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--body"
|
|
|
|
|
/>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--footer"
|
|
|
|
|
>
|
|
|
|
|
<div
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-dcJsrY dAhqLr"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<button
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-eqUAAy fNGiZB"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
Cancel
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-dcJsrY dAhqLr"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<button
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-eqUAAy jJvjWh"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
Submit
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Dialog renders with props 1`] = `
|
|
|
|
|
<div
|
2023-07-12 21:03:20 +03:00
|
|
|
|
class="sc-jXbUNg cXoIGe"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
open=""
|
|
|
|
|
>
|
|
|
|
|
<div />
|
|
|
|
|
<div>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--header"
|
|
|
|
|
>
|
|
|
|
|
<div>
|
|
|
|
|
Dialog Title
|
|
|
|
|
</div>
|
|
|
|
|
<button>
|
|
|
|
|
×
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--body"
|
|
|
|
|
>
|
|
|
|
|
Hello Dialog!
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="mc-dialog--footer"
|
|
|
|
|
>
|
|
|
|
|
<div
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-dcJsrY dAhqLr"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<button
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-eqUAAy fNGiZB"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
Cancel
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-dcJsrY dAhqLr"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
<button
|
2023-06-04 20:59:22 +03:00
|
|
|
|
class="sc-eqUAAy jJvjWh"
|
2019-01-03 16:00:55 +03:00
|
|
|
|
>
|
|
|
|
|
Submit
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|