import React from 'react' ; import { Meta , Story } from '@storybook/react' ; import { List , IListProps } from '.' ; export default { title : 'Components/Typography/List' , component : List } as Meta ; const Template = ( args ) => < List { ... args } / > ; export const ListView = Template . bind ( { } ) ; ListView . args = { id : 'ListView' , list : [ 'Item1' , 'Item2' , 'Item3' ] } ;