Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

29 righe
560 B

  1. import {createLabelFormCentric} from "./LabelFormCentricComponent";
  2. export default {
  3. title: 'Atoms/Label',
  4. args: {
  5. text: 'Benutzername',
  6. forAttribute: 'name',
  7. isRequired: false,
  8. labelType: 'not-set',
  9. },
  10. argTypes: {
  11. text: {
  12. name: 'Label-Text',
  13. },
  14. forAttribute: {
  15. name: 'For-Attribute',
  16. },
  17. isRequired: {
  18. name: 'Pflichtfeld',
  19. },
  20. }
  21. }
  22. const Template = ({...args}) => {
  23. return createLabelFormCentric({...args});
  24. };
  25. export const LabelFormCentric = Template.bind({});
  26. LabelFormCentric.args = {};