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.
 
 
 
 

44 regels
868 B

  1. import {createSecondaryMenu} from "./SecondaryMenuComponent";
  2. export default {
  3. title: 'Atoms/SecondaryMenu',
  4. parameters: {
  5. layout: 'fullsize',
  6. },
  7. args: {
  8. secondaryLinks: ['Über uns', 'Presse', 'Newsletter'],
  9. languageLinks: ['CZ', 'EN'],
  10. iconLinks: [
  11. {
  12. iconClass: 'sign-language',
  13. label: 'Zeichensprache',
  14. },
  15. {
  16. iconClass: 'simple-language',
  17. label: 'Einfach Sprache',
  18. },
  19. {
  20. iconClass: 'login',
  21. label: 'Einloggen',
  22. }
  23. ]
  24. },
  25. argTypes: {
  26. secondaryLinks: {
  27. name: 'Sekundäre Links',
  28. },
  29. languageLinks: {
  30. name: 'Sprachen',
  31. },
  32. iconLinks: {
  33. name: 'Icon-Menü',
  34. }
  35. }
  36. }
  37. const Template = ({...args}) => {
  38. return createSecondaryMenu({...args});
  39. };
  40. export const SecondaryMenu = Template.bind({});
  41. SecondaryMenu.args = {};