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

20 行
383 B

  1. import {alphabet} from "./AZData";
  2. import {createAZ} from "./AZComponent";
  3. export default {
  4. title: 'Components/A-Z List',
  5. argTypes: {
  6. items: {
  7. name: 'Buchstaben',
  8. control: {type: 'object'},
  9. defaultValue: alphabet,
  10. },
  11. }
  12. }
  13. const Template = ({...args}) => {
  14. return createAZ({...args});
  15. };
  16. export const A_ZList = Template.bind({});
  17. A_ZList.args = {};