Skip to content

Commit

Permalink
fix: skip reexport ImageProps
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 8, 2020
1 parent 58e0048 commit 6a5e27b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ui/components/src/TitledImage/TitledImage.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React from 'react';
import { TitledImage, TitledImageProps } from './TitledImage';
import { ImageProps } from 'theme-ui';

import { TitledImage } from './TitledImage';

export default {
title: 'Components/TitledImage',
component: TitledImage,
};

export const overview = ({ title }: TitledImageProps) => {
export const overview = ({ title }: ImageProps) => {
return (
<TitledImage
title={title}
Expand Down
1 change: 0 additions & 1 deletion ui/components/src/TitledImage/TitledImage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { FC } from 'react';
import { Image, ImageProps, Text, Box } from 'theme-ui';

export { ImageProps as TitledImageProps };
/**
* image components with a title if available
*/
Expand Down

0 comments on commit 6a5e27b

Please sign in to comment.