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

19 行
305 B

  1. import {createBadge} from "./BadgeComponent";
  2. export default {
  3. title: 'Atoms/Badge',
  4. args: {
  5. count: 68,
  6. },
  7. argTypes: {
  8. count: {
  9. name: 'Anzahl',
  10. }
  11. }
  12. }
  13. const Template = ({...args}) => {
  14. return createBadge({...args});
  15. }
  16. export const Badge = Template.bind({});
  17. Badge.args = {};