|
- import {electionResultListData} from "./ElectionResultListData";
- import {createElectionResultList} from "./ElectionResultListComponent";
-
- export default {
- title: 'Sections/Election Result List',
- parameters: {
- layout: 'fullscreen',
- },
- args: {
- resultList: electionResultListData
- },
- argTypes: {
- type: {
- name: 'Election Result List Typ',
- }
- }
- }
-
- const Template = ({...args}) => {
- return createElectionResultList({...args});
- };
-
- export const ElectionResultList = Template.bind({});
- ElectionResultList.args = {};
|