Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
♻️ refactor Button.story to use real IconShip2 import
Browse files Browse the repository at this point in the history
We can import real icon files now.
  • Loading branch information
justinanastos committed Aug 6, 2019
1 parent 1fd6e68 commit 2c3f779
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Button/Button.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { jsx } from "@emotion/core";
import React, { ComponentProps } from "react";
import { storiesOf } from "@storybook/react";
import { Button } from "./Button";
// @ts-ignore We need to use `.tsx` because this will live next to the
// transpiled files that we can't import.
import { IconShip2 } from "../../icons/IconShip2.tsx";
import { IconShip2 } from "../icons/IconShip2";
import { colors } from "../colors";
import * as typography from "../typography";
import { DemoSection } from "../shared/DemoSection";
Expand Down

0 comments on commit 2c3f779

Please sign in to comment.