Browse Source

Add story (label)

pull/332/head
Thomas 4 years ago
parent
commit
c8f249479f
  1. 12
      libs/ui/src/lib/value/value.component.stories.ts

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

@ -22,6 +22,13 @@ Loading.args = {
value: undefined value: undefined
}; };
export const Currency = Template.bind({});
Currency.args = {
currency: 'USD',
locale: 'en',
value: 7
};
export const Integer = Template.bind({}); export const Integer = Template.bind({});
Integer.args = { Integer.args = {
isInteger: true, isInteger: true,
@ -29,9 +36,8 @@ Integer.args = {
value: 7 value: 7
}; };
export const Currency = Template.bind({}); export const Label = Template.bind({});
Currency.args = { Label.args = {
currency: 'USD',
isInteger: true, isInteger: true,
label: 'Label', label: 'Label',
locale: 'en', locale: 'en',

Loading…
Cancel
Save