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.
 
 
 
 

36 line
810 B

  1. import {ParticipationTeasersData} from "./ParticipationTeasersData";
  2. import {createParticipationTeasers} from "./ParticipationTeasersComponent";
  3. export default {
  4. title: 'Sections/Participation Teasers',
  5. parameters: {
  6. layout: 'fullscreen',
  7. },
  8. args: {
  9. headline: 'Aktuelle Beteiligungen',
  10. count: 9,
  11. items: ParticipationTeasersData,
  12. buttonLabel: 'Alle aktuellen Beteiligungen',
  13. },
  14. argTypes: {
  15. headline: {
  16. name: 'Überschrift',
  17. },
  18. count: {
  19. name: 'Anzahl aller Beteiligungen',
  20. },
  21. items: {
  22. name: 'Teaser',
  23. },
  24. buttonLabel: {
  25. name: 'Button Label',
  26. }
  27. },
  28. }
  29. const Template = ({...args}) => {
  30. return createParticipationTeasers({...args});
  31. };
  32. export const ParticipationTeasers = Template.bind({});
  33. ParticipationTeasers.args = {};