Skip to content

Commit

Permalink
storybook: clean up gif.stories configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
giannif committed Nov 7, 2023
1 parent 55719f8 commit 237bf08
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/react-components/stories/gif.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type GifDemoProps = Omit<GifComponentProps, 'gif'> & {
scale: string
}


const GifDemo = ({ id, width, height, noLink, borderRadius, percentWidth, overlay, ...other }: GifDemoProps) => {
const [gif, setGif] = useState<IGif>()

Expand Down Expand Up @@ -99,9 +100,11 @@ export const GifWithVideoOverlayFillVideo: Story = {
args: {
id: 'CWuHC9Nv5CKV8u7WeO',
width: 340,
height: 200,
height: 340,
hideAttribution: true,
overlay: (props: GifOverlayProps) => <VideoOverlay {...props} width={number('width', 300)} />,
overlay: (props: GifOverlayProps) => (
<VideoOverlay {...props} width={number('width', 340)} height={number('width', 340)} />
),
},
}

Expand Down

0 comments on commit 237bf08

Please sign in to comment.