Static Site
This commit is contained in:
23
Static/package/dist/collection/components/status/status.stories.js
vendored
Normal file
23
Static/package/dist/collection/components/status/status.stories.js
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
export default {
|
||||
title: 'Components/Status',
|
||||
tags: ['autodocs'],
|
||||
args: {
|
||||
label: "text",
|
||||
color: "orange",
|
||||
border: true,
|
||||
},
|
||||
argTypes: {
|
||||
border: {
|
||||
control: 'boolean',
|
||||
attr: 'border',
|
||||
},
|
||||
color: {
|
||||
options: ['orange', 'ocean', 'grey', 'light-grey', 'red', 'green', 'berry'],
|
||||
control: { type: 'radio' },
|
||||
},
|
||||
},
|
||||
};
|
||||
const DefaultTemplate = (args) => `<ifx-status label="${args.label}" color="${args.color}" border="${args.border}"/>`;
|
||||
export const Default = DefaultTemplate.bind({});
|
||||
Default.argTypes = {};
|
||||
//# sourceMappingURL=status.stories.js.map
|
Reference in New Issue
Block a user