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.
 
 
 
 

25 line
532 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 = {};
  18. export const ArticlePage = Template.bind({});
  19. ArticlePage.args = {
  20. article: true
  21. };