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
544 B

  1. import {electionResultListData} from "./ElectionResultListData";
  2. import {createElectionResultList} from "./ElectionResultListComponent";
  3. export default {
  4. title: 'Sections/Election Result List',
  5. parameters: {
  6. layout: 'fullscreen',
  7. },
  8. args: {
  9. resultList: electionResultListData
  10. },
  11. argTypes: {
  12. type: {
  13. name: 'Election Result List Typ',
  14. }
  15. }
  16. }
  17. const Template = ({...args}) => {
  18. return createElectionResultList({...args});
  19. };
  20. export const ElectionResultList = Template.bind({});
  21. ElectionResultList.args = {};