Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Commit

Permalink
feat: Box (#189)
Browse files Browse the repository at this point in the history
* feat: Box

* fix: Imports
  • Loading branch information
hachiojidev committed Feb 22, 2021
1 parent f845467 commit d89db88
Show file tree
Hide file tree
Showing 26 changed files with 182 additions and 145 deletions.
6 changes: 3 additions & 3 deletions src/__tests__/components/alert.test.tsx
Expand Up @@ -8,10 +8,10 @@ it("renders correctly", () => {
expect(asFragment()).toMatchInlineSnapshot(`
<DocumentFragment>
<div
class="sc-eCssSg sc-fubCfw cntkGK jErUdc"
class="sc-eCssSg sc-jSgupP sc-pFZIQ jnvqfy cjuMmG iHQmOP"
>
<div
class="sc-jSgupP jjCMEU"
class="sc-gKsewC fosoJN"
>
<svg
class="sc-bdfBwQ gcQKnf"
Expand All @@ -26,7 +26,7 @@ it("renders correctly", () => {
</svg>
</div>
<div
class="sc-gKsewC bkaskd"
class="sc-iBPRYJ hdYjNd"
>
<div
class="sc-gsTCUz TrMyr"
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/components/flex.test.tsx
@@ -1,13 +1,13 @@
import React from "react";
import { renderWithTheme } from "../../testHelpers";
import Flex from "../../components/Flex/Flex";
import Flex from "../../components/Box/Flex";

it("renders correctly", () => {
const { asFragment } = renderWithTheme(<Flex>flex</Flex>);
expect(asFragment()).toMatchInlineSnapshot(`
<DocumentFragment>
<div
class="sc-bdfBwQ iUGWfo"
class="sc-bdfBwQ sc-gsTCUz iwJkGQ ckYhbt"
>
flex
</div>
Expand Down

0 comments on commit d89db88

Please sign in to comment.