Skip to content

Commit

Permalink
feat(storybook/ReadingView): add argTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
6km committed Jul 24, 2024
1 parent daab7eb commit 6c29dec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/ReadingView/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,14 @@ export const Default: Story = {
},
fixedAspectRatio: true,
},
argTypes: {
page: { type: 'number' },
readingViewStyles: {
control: 'object',
},
surahTitleStyles: {
control: 'object',
},
fixedAspectRatio: { type: 'boolean' },
},
}

0 comments on commit 6c29dec

Please sign in to comment.