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.
 
 
 
 

29 lines
668 B

  1. import {createSurvey} from "./SurveyComponent";
  2. import {SurveySimpleData} from "./SurveyData";
  3. import {SurveyComplexData} from "./SurveyData";
  4. export default {
  5. title: 'Sections/Survey',
  6. parameters: {
  7. layout: 'fullscreen',
  8. },
  9. args: {
  10. kicker: 'Schnellumfrage',
  11. headline: 'Einführung von 2G im Einzelhandel: Was halten Sie davon?',
  12. copy: 'Hier können Sie abstimmen:',
  13. }
  14. }
  15. const Template = ({...args}) => {
  16. return createSurvey({...args});
  17. };
  18. export const SurveySimple = Template.bind({});
  19. SurveySimple.args = {
  20. data: SurveySimpleData
  21. };
  22. export const SurveyComplex = Template.bind({});
  23. SurveyComplex.args = {
  24. data: SurveyComplexData
  25. };