Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

20 righe
445 B

  1. import {testimonialData} from "./TestimonialData";
  2. import {createTestimonial} from "./TestimonialComponent";
  3. export default {
  4. title: 'Components/Testimonial',
  5. argTypes: {
  6. listItems: {
  7. name: 'listItems',
  8. control: {type: 'object'},
  9. defaultValue: testimonialData,
  10. }
  11. }
  12. }
  13. const Template = ({...args}) => {
  14. return createTestimonial({...args});
  15. }
  16. export const Testimonial = Template.bind({});
  17. Testimonial.args = {};