Skip to content

Commit

Permalink
fix(Illustration): minor warning fixed by using type
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyG83 committed Jan 25, 2022
1 parent ded9534 commit 305c7fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Illustrations/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default as Illustration } from "./Illustration";
export { IllustrationProps } from "./types";
export { default as Illustration } from './Illustration';
export type { IllustrationProps } from './types';
2 changes: 1 addition & 1 deletion src/components/Illustrations/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export const logoState = [
'marketplace',
] as const;
export type Logo = typeof logoState[number];

export type Size = number | string;

export interface IllustrationProps {
id?: string;

Expand Down

0 comments on commit 305c7fb

Please sign in to comment.