Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
use Meta types
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcintyre committed Nov 17, 2021
1 parent 5484c79 commit 0c31f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/typography/Meta/Meta.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import React from 'react';
import { Story } from '@storybook/react';

import { Meta } from './Meta';
// import { Props } from './Meta.types';

type Props = any;
import { Props } from './Meta.types';

export default {
title: 'typography/Meta',
Expand Down
4 changes: 1 addition & 3 deletions src/typography/Meta/Meta.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import React from 'react';

// import { Props } from './Meta.types';
import { Props } from './Meta.types';
import { Meta as Styled } from './Meta.style';

import { withIris } from '../../utils';

type Props = any;

export const Meta = withIris<
HTMLParagraphElement | HTMLSpanElement | HTMLLabelElement,
Props
Expand Down

0 comments on commit 0c31f81

Please # to comment.