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.
 
 
 
 

46 line
969 B

  1. import {createElectionDetail} from "./ElectionDetailComponent";
  2. export default {
  3. title: 'Sections/Election Detail',
  4. parameters: {
  5. layout: 'fullscreen',
  6. },
  7. args: {},
  8. }
  9. const Template = ({...args}) => {
  10. return createElectionDetail({...args});
  11. };
  12. export const ElectionDetail = Template.bind({});
  13. ElectionDetail.args = {};
  14. export const ElectionDetailNoVideo = Template.bind({});
  15. ElectionDetailNoVideo.args = {
  16. showVideo: false,
  17. };
  18. export const ElectionDetailNoText = Template.bind({});
  19. ElectionDetailNoText.args = {
  20. showVideo: false,
  21. textheadline: '',
  22. copy: '',
  23. };
  24. export const ElectionDetailNoSocial = Template.bind({});
  25. ElectionDetailNoSocial.args = {
  26. showVideo: false,
  27. textheadline: '',
  28. copy: '',
  29. showSocialMedia: false,
  30. };
  31. export const ElectionDetailNoElectionArea = Template.bind({});
  32. ElectionDetailNoElectionArea.args = {
  33. showVideo: false,
  34. textheadline: '',
  35. copy: '',
  36. showSocialMedia: false,
  37. showElectionArea: false,
  38. };