import {createLabel} from "./LabelComponent";

export default {
  title: 'Atoms/Label',
  args: {
    text: 'Benutzername',
    forAttribute: 'name',
    isRequired: false,
  },
  argTypes: {
    text: {
      name: 'Label-Text',
    },
    forAttribute: {
      name: 'For-Attribute',
    },
    isRequired: {
      name: 'Pflichtfeld',
    },
  }
}

const Template = ({...args}) => {
  return createLabel({...args});
};

export const Label = Template.bind({});
Label.args = {};