mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 04:22:28 +02:00
add more stories
This commit is contained in:
parent
a84ee55ccf
commit
be735135cf
1 changed files with 23 additions and 0 deletions
|
|
@ -31,6 +31,13 @@ const meta = {
|
|||
onClickQuickAction: fn(),
|
||||
preSelect: false,
|
||||
selected: false,
|
||||
stretchPoster: true,
|
||||
},
|
||||
argTypes: {
|
||||
posterUrl: {
|
||||
options: [seriesThumbnailUrl('id'), seriesThumbnailUrl('idL')],
|
||||
control: { type: 'radio' },
|
||||
},
|
||||
},
|
||||
} satisfies Meta<typeof ItemCard>
|
||||
|
||||
|
|
@ -85,6 +92,22 @@ export const TopRightIcon: Story = {
|
|||
},
|
||||
}
|
||||
|
||||
export const LandscapeStretched: Story = {
|
||||
args: {
|
||||
topRightIcon: 'i-mdi:check',
|
||||
posterUrl: seriesThumbnailUrl('idL'),
|
||||
stretchPoster: true,
|
||||
},
|
||||
}
|
||||
|
||||
export const LandscapeNotStretched: Story = {
|
||||
args: {
|
||||
topRightIcon: 'i-mdi:check',
|
||||
posterUrl: seriesThumbnailUrl('idL'),
|
||||
stretchPoster: false,
|
||||
},
|
||||
}
|
||||
|
||||
export const QuickActionIcon: Story = {
|
||||
args: {
|
||||
quickActionIcon: 'i-mdi:pencil',
|
||||
|
|
|
|||
Loading…
Reference in a new issue