|
|
@ -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', |
|
|
|