No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

64 líneas
1.5 KiB

  1. import {createFeature} from "./FeatureComponent";
  2. export default {
  3. title: 'Sections/Feature',
  4. parameters: {
  5. layout: 'fullscreen',
  6. },
  7. argTypes: {
  8. kicker: {
  9. name: 'Dachzeile',
  10. control: 'text',
  11. defaultValue: 'IHK Musterstadt',
  12. },
  13. headline: {
  14. name: 'Überschrift',
  15. control: 'text',
  16. defaultValue: 'Ihre IHK – Ihre Vorteile',
  17. },
  18. copy: {
  19. name: 'Einleitungstext',
  20. control: 'text',
  21. defaultValue: 'Wir beraten und helfen Ihnen als gewerbetreibendes Unternehmen zum Beispiel bei folgenden Themen:',
  22. },
  23. links: {
  24. name: 'Link-Liste',
  25. control: {type: 'object'},
  26. defaultValue: [
  27. {
  28. title: 'Wahrnehmung Ihrer Interessen',
  29. link: '#',
  30. },
  31. {
  32. title: 'Fördermöglichkeiten',
  33. link: '#',
  34. },
  35. {
  36. title: 'Durchführung von Prüfungen',
  37. link: '#',
  38. },
  39. {
  40. title: 'Beratung zu Themen der Außenwirtschaft',
  41. link: '#',
  42. },
  43. {
  44. title: 'Beratungen bei Existenzgründung',
  45. link: '#',
  46. },
  47. ]
  48. },
  49. icon: {
  50. name: 'Icon',
  51. control: {type: 'select'},
  52. options: ['Eule Doktorhut', 'Anker', 'Blitz', 'Buch Brille', 'Brexit', 'Chart', 'Rettungsring', 'Magazin'],
  53. defaultValue: 'Eule Doktorhut',
  54. }
  55. }
  56. }
  57. const Template = ({...args}) => {
  58. return createFeature({...args});
  59. }
  60. export const Feature = Template.bind({});
  61. Feature.args = {};