You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 line
720 B

  1. import {linkListCopyData} from "../linklist/LinkListData";
  2. import {createLinkCollection} from "./LinkCollectionComponent";
  3. export default {
  4. title: 'Components/Link Collection',
  5. argTypes: {
  6. headline: {
  7. name: 'Überschrift',
  8. control: 'text',
  9. defaultValue: 'Meistgeklickt',
  10. },
  11. buttonText: {
  12. name: 'Button Label',
  13. control: 'text',
  14. defaultValue: 'Alle Pressemitteilungen anzeigen',
  15. },
  16. linkListData: {
  17. name: 'Kontakte',
  18. control: {type: 'object'},
  19. defaultValue: linkListCopyData,
  20. },
  21. }
  22. }
  23. const Template = ({...args}) => {
  24. return createLinkCollection({...args});
  25. };
  26. export const LinkCollection = Template.bind({});
  27. LinkCollection.args = {};