您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

25 行
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 = {};