You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
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 = {};