|
- import {createLabelFormCentric} from "./LabelFormCentricComponent";
-
- export default {
- title: 'Atoms/Label',
- args: {
- text: 'Benutzername',
- forAttribute: 'name',
- isRequired: false,
- labelType: 'not-set',
- },
- argTypes: {
- text: {
- name: 'Label-Text',
- },
- forAttribute: {
- name: 'For-Attribute',
- },
- isRequired: {
- name: 'Pflichtfeld',
- },
- }
- }
-
- const Template = ({...args}) => {
- return createLabelFormCentric({...args});
- };
-
- export const LabelFormCentric = Template.bind({});
- LabelFormCentric.args = {};
|