diff --git a/src/atoms/list/List.stories.js b/src/atoms/list/List.stories.js index 4ea46293..3fa5f5ae 100644 --- a/src/atoms/list/List.stories.js +++ b/src/atoms/list/List.stories.js @@ -55,8 +55,8 @@ const BaseTemplate = (args, { argTypes }) => ({ export const Default = BaseTemplate.bind({}) -// with links list -const WithLinksTemplate = (args, { argTypes }) => ({ +// with slots list +const WithSlotsTemplate = (args, { argTypes }) => ({ components: { AList, AListItem, ALink }, props: Object.keys(argTypes), template: ` @@ -77,34 +77,4 @@ const WithLinksTemplate = (args, { argTypes }) => ({ ` }) -export const WithLinks = WithLinksTemplate.bind({}) - -// with icons list -const WithIconsTemplate = (args, { argTypes }) => ({ - components: { AList, AListItem, AIcon, AIconPerson, AIconCheck, AIconPhone }, - props: Object.keys(argTypes), - template: ` - - - - - - - - - - - - - - - - - - ` -}) - -export const WithIcons = WithIconsTemplate.bind({}) +export const WithSlots = WithSlotsTemplate.bind({})