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

20 行
447 B

  1. import {printShareListItems} from "./PrintShareData";
  2. import {createPrintShare} from "./PrintShareComponent";
  3. export default {
  4. title: 'Components/Print Share',
  5. argTypes: {
  6. listItems: {
  7. name: 'Buttons',
  8. control: {type: 'object'},
  9. defaultValue: printShareListItems,
  10. },
  11. }
  12. }
  13. const Template = ({...args}) => {
  14. return createPrintShare({...args});
  15. };
  16. export const PrintShare = Template.bind({});
  17. PrintShare.args = {};