Skip to content

Commit

Permalink
Fix typescript complaining BaseTile.stories
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgraeme committed Sep 24, 2024
1 parent 822bc24 commit dbd341b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/components/atoms/BaseTile/BaseTile.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ const Template: StoryFn<typeof BaseTile> = (args) => (
export const FullHeight = Template.bind({});
FullHeight.args = {
tile: {

Check failure on line 20 in lib/components/atoms/BaseTile/BaseTile.stories.tsx

View workflow job for this annotation

GitHub Actions / publish-storybook

Property 'type' is missing in type '{ id: string; active: true; createdAt: string; updatedAt: string; tileHeight: TileHeight.Full; configuration: { imageUrl: string; }; }' but required in type 'Tile'.
id: '1',
active: true,
createdAt: '',
updatedAt: '',
tileHeight: TileHeight.Full,
configuration: {
imageUrl: 'https://picsum.photos/200/300',
Expand All @@ -27,6 +31,10 @@ FullHeight.args = {
export const HalfHeight = Template.bind({});
HalfHeight.args = {
tile: {

Check failure on line 33 in lib/components/atoms/BaseTile/BaseTile.stories.tsx

View workflow job for this annotation

GitHub Actions / publish-storybook

Property 'type' is missing in type '{ id: string; active: true; createdAt: string; updatedAt: string; tileHeight: TileHeight.Half; configuration: { imageUrl: string; }; }' but required in type 'Tile'.
id: '2',
active: true,
createdAt: '',
updatedAt: '',
tileHeight: TileHeight.Half,
configuration: {
imageUrl: 'https://picsum.photos/200/300',
Expand Down

0 comments on commit dbd341b

Please sign in to comment.