Skip to content

Commit

Permalink
Infer removed type
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Nov 8, 2024
1 parent e47dc7f commit 14893b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions storybook/src/utils/AspectRatio/AspectRatio.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import { Meta, StoryObj } from '@storybook/react'
import { AspectRatio } from './AspectRatio'
import type { AspectRatioProps } from './AspectRatio'

const meta = {
title: 'Utilities/CSS/Aspect Ratio',
Expand All @@ -19,7 +18,7 @@ const meta = {
options: ['2x-wide', 'x-wide', 'wide', 'square', 'tall', 'x-tall'],
},
},
render: ({ aspectRatio }: AspectRatioProps) => (
render: ({ aspectRatio }) => (
<div className="ams-docs-column ams-docs-aspect-ratio">
<div className={`ams-docs-item ams-aspect-ratio--${aspectRatio}`}></div>
</div>
Expand Down

0 comments on commit 14893b9

Please sign in to comment.