Skip to content

Commit

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

* fix: Imports
  • Loading branch information
hachiojidev authored 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit d89db88

Please sign in to comment.