redux-devtools/packages/devui/tests/__snapshots__/Dialog.test.tsx.snap
Nathan Bierema 727d753081
feature(devui): convert to TypeScript (#629)
* stash

* and those

* stash

* stash

* stash

* stash

* tests

* fix errors

* revert

* stash

* fix lint

* prettier
2020-09-09 10:35:22 -04:00

133 lines
2.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Dialog renders correctly 1`] = `
<div
class="sc-fzozJi bUabZV"
>
<div />
<div>
<div
class="mc-dialog--header"
>
<div />
<button>
×
</button>
</div>
<div
class="mc-dialog--body"
/>
<div
class="mc-dialog--footer"
>
<div
class="sc-AxhUy dkmwYZ"
>
<button
class="sc-AxiKw jvXzBz"
>
Cancel
</button>
</div>
<div
class="sc-AxhUy dkmwYZ"
>
<button
class="sc-AxiKw kAYmfb"
>
Submit
</button>
</div>
</div>
</div>
</div>
`;
exports[`Dialog renders modal 1`] = `
<div
class="sc-fzozJi bUabZV"
>
<div />
<div>
<div
class="mc-dialog--header"
>
<div />
</div>
<div
class="mc-dialog--body"
/>
<div
class="mc-dialog--footer"
>
<div
class="sc-AxhUy dkmwYZ"
>
<button
class="sc-AxiKw jvXzBz"
>
Cancel
</button>
</div>
<div
class="sc-AxhUy dkmwYZ"
>
<button
class="sc-AxiKw kAYmfb"
>
Submit
</button>
</div>
</div>
</div>
</div>
`;
exports[`Dialog renders with props 1`] = `
<div
class="sc-fzozJi eNoXNi"
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
class="sc-AxhUy dkmwYZ"
>
<button
class="sc-AxiKw jvXzBz"
>
Cancel
</button>
</div>
<div
class="sc-AxhUy dkmwYZ"
>
<button
class="sc-AxiKw kAYmfb"
>
Submit
</button>
</div>
</div>
</div>
</div>
`;