Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

30 linhas
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 = {};