Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

25 rader
550 B

  1. import {stepsData} from "./StepsData";
  2. import {createSteps} from "./StepsComponent";
  3. export default {
  4. title: 'Components/Content Tabs',
  5. argTypes: {
  6. headline: {
  7. name: 'Überschrift',
  8. control: {type: 'text'},
  9. defaultValue: 'Schritt für Schritt zur Soforthilfe',
  10. },
  11. contents: {
  12. name: 'Inhalte',
  13. control: {type: 'object'},
  14. defaultValue: stepsData,
  15. }
  16. }
  17. }
  18. const Template = ({...args}) => {
  19. return createSteps({...args});
  20. };
  21. export const ContentTabs = Template.bind({});
  22. ContentTabs.args = {};