Browse Source

Extend Storybook story

pull/5337/head
Thomas Kaul 2 weeks ago
parent
commit
3fff67594f
  1. 18
      libs/ui/src/lib/value/value.component.stories.ts

18
libs/ui/src/lib/value/value.component.stories.ts

@ -11,7 +11,13 @@ export default {
moduleMetadata({
imports: [NgxSkeletonLoaderModule]
})
]
],
argTypes: {
deviceType: {
control: 'select',
options: ['desktop', 'mobile']
}
}
} as Meta<GfValueComponent>;
type Story = StoryObj<GfValueComponent>;
@ -31,6 +37,16 @@ export const Currency: Story = {
}
};
export const DateValue: Story = {
args: {
deviceType: 'desktop',
isDate: true,
locale: 'en-US',
value: new Date().toISOString()
},
name: 'Date'
};
export const Label: Story = {
args: {
locale: 'en-US',

Loading…
Cancel
Save