Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

25 wiersze
654 B

  1. import {linkListData, linkListIconsData, linkListCopyData} from "./LinkListData";
  2. import {createLinkList} from "./LinkListComponent";
  3. export default {
  4. title: 'Components/Linkliste',
  5. argTypes: {
  6. links: {
  7. name: 'Links',
  8. control: {type: 'object'},
  9. defaultValue: linkListData,
  10. }
  11. }
  12. }
  13. const Template = ({...args}) => {
  14. return createLinkList({...args});
  15. }
  16. export const SimpleList = Template.bind({});
  17. SimpleList.args = {};
  18. export const DifferentTypes = Template.bind({});
  19. DifferentTypes.args = {links: linkListIconsData};
  20. export const WithDescriptions = Template.bind({});
  21. WithDescriptions.args = {links: linkListCopyData};