{children &&
{children}
}
{name &&
{name}
}
diff --git a/packages/storybook/src/mendix-badge.stories.tsx b/packages/storybook/src/mendix-badge.stories.tsx
index dc2a8073..dfcba5aa 100644
--- a/packages/storybook/src/mendix-badge.stories.tsx
+++ b/packages/storybook/src/mendix-badge.stories.tsx
@@ -5,25 +5,25 @@ import { Button } from '@utrecht/component-library-react/dist/css-module';
import '@gemeente-rotterdam/mendix-css/dist/mendix-nl-design-system-rotterdam-theme.css';
const meta = {
- title: 'Mendix Component/Badge',
id: 'mendix-badge',
- component: Button,
+ args: {
+ children: '',
+ },
argTypes: {
children: {
name: 'Content',
+ defaultValue: '',
description: 'Button text',
type: {
name: 'string',
required: true,
},
- defaultValue: '',
},
},
- args: {
- children: '',
- },
- tags: ['autodocs'],
+ component: Button,
parameters: {},
+ tags: ['autodocs'],
+ title: 'Mendix Component/Badge',
} satisfies Meta
;
export default meta;
diff --git a/packages/storybook/src/mendix-breadcrumb-nav.stories-disabled.tsx b/packages/storybook/src/mendix-breadcrumb-nav.stories-disabled.tsx
index 04f54c28..4106e113 100644
--- a/packages/storybook/src/mendix-breadcrumb-nav.stories-disabled.tsx
+++ b/packages/storybook/src/mendix-breadcrumb-nav.stories-disabled.tsx
@@ -5,25 +5,25 @@ import { Button } from '@utrecht/component-library-react/dist/css-module';
import '@gemeente-rotterdam/mendix-css/dist/mendix-nl-design-system-rotterdam-theme.css';
const meta = {
- title: 'Mendix Component/Breadcrumbs',
id: 'mendix-breadcrumb-nav',
- component: Button,
+ args: {
+ children: '',
+ },
argTypes: {
children: {
name: 'Content',
+ defaultValue: '',
description: 'Button text',
type: {
name: 'string',
required: true,
},
- defaultValue: '',
},
},
- args: {
- children: '',
- },
- tags: ['autodocs'],
+ component: Button,
parameters: {},
+ tags: ['autodocs'],
+ title: 'Mendix Component/Breadcrumbs',
} satisfies Meta;
export default meta;
diff --git a/packages/storybook/src/mendix-button.stories.tsx b/packages/storybook/src/mendix-button.stories.tsx
index 3d1ecaa0..f2925abe 100644
--- a/packages/storybook/src/mendix-button.stories.tsx
+++ b/packages/storybook/src/mendix-button.stories.tsx
@@ -5,25 +5,25 @@ import { Button } from '@utrecht/component-library-react/dist/css-module';
import '@gemeente-rotterdam/mendix-css/dist/mendix-nl-design-system-rotterdam-theme.css';
const meta = {
- title: 'Mendix Component/Button',
id: 'mendix-button',
- component: Button,
+ args: {
+ children: '',
+ },
argTypes: {
children: {
name: 'Content',
+ defaultValue: '',
description: 'Button text',
type: {
name: 'string',
required: true,
},
- defaultValue: '',
},
},
- args: {
- children: '',
- },
- tags: ['autodocs'],
+ component: Button,
parameters: {},
+ tags: ['autodocs'],
+ title: 'Mendix Component/Button',
} satisfies Meta;
export default meta;
diff --git a/packages/storybook/src/mendix-form-field-radio-group.stories-disabled.tsx b/packages/storybook/src/mendix-form-field-radio-group.stories-disabled.tsx
index 4592132d..9578c56c 100644
--- a/packages/storybook/src/mendix-form-field-radio-group.stories-disabled.tsx
+++ b/packages/storybook/src/mendix-form-field-radio-group.stories-disabled.tsx
@@ -5,25 +5,25 @@ import { Button } from '@utrecht/component-library-react/dist/css-module';
import '@gemeente-rotterdam/mendix-css/dist/mendix-nl-design-system-rotterdam-theme.css';
const meta = {
- title: 'Mendix Component/Form field radio group',
id: 'mendix-form-field-radio-group',
- component: Button,
+ args: {
+ children: '',
+ },
argTypes: {
children: {
name: 'Content',
+ defaultValue: '',
description: 'Button text',
type: {
name: 'string',
required: true,
},
- defaultValue: '',
},
},
- args: {
- children: '',
- },
- tags: ['autodocs'],
+ component: Button,
parameters: {},
+ tags: ['autodocs'],
+ title: 'Mendix Component/Form field radio group',
} satisfies Meta;
export default meta;
diff --git a/packages/storybook/src/mendix-form-field-textarea.stories.tsx b/packages/storybook/src/mendix-form-field-textarea.stories.tsx
index 67582c02..0e0054f0 100644
--- a/packages/storybook/src/mendix-form-field-textarea.stories.tsx
+++ b/packages/storybook/src/mendix-form-field-textarea.stories.tsx
@@ -5,25 +5,25 @@ import { Button } from '@utrecht/component-library-react/dist/css-module';
import '@gemeente-rotterdam/mendix-css/dist/mendix-nl-design-system-rotterdam-theme.css';
const meta = {
- title: 'Mendix Component/Form field textarea',
id: 'mendix-form-field-textarea',
- component: Button,
+ args: {
+ children: '',
+ },
argTypes: {
children: {
name: 'Content',
+ defaultValue: '',
description: 'Button text',
type: {
name: 'string',
required: true,
},
- defaultValue: '',
},
},
- args: {
- children: '',
- },
- tags: ['autodocs'],
+ component: Button,
parameters: {},
+ tags: ['autodocs'],
+ title: 'Mendix Component/Form field textarea',
} satisfies Meta;
export default meta;
diff --git a/packages/storybook/src/mendix-text-input.stories.tsx b/packages/storybook/src/mendix-text-input.stories.tsx
index 4004db3c..83c08c4e 100644
--- a/packages/storybook/src/mendix-text-input.stories.tsx
+++ b/packages/storybook/src/mendix-text-input.stories.tsx
@@ -5,25 +5,25 @@ import { Button } from '@utrecht/component-library-react/dist/css-module';
import '@gemeente-rotterdam/mendix-css/dist/mendix-nl-design-system-rotterdam-theme.css';
const meta = {
- title: 'Mendix Component/Form field text input',
id: 'mendix-form-fieldtext-input',
- component: Button,
+ args: {
+ children: '',
+ },
argTypes: {
children: {
name: 'Content',
+ defaultValue: '',
description: 'Button text',
type: {
name: 'string',
required: true,
},
- defaultValue: '',
},
},
- args: {
- children: '',
- },
- tags: ['autodocs'],
+ component: Button,
parameters: {},
+ tags: ['autodocs'],
+ title: 'Mendix Component/Form field text input',
} satisfies Meta;
export default meta;
diff --git a/packages/storybook/src/mendix-text.stories.tsx b/packages/storybook/src/mendix-text.stories.tsx
index aaf68dce..27a90dae 100644
--- a/packages/storybook/src/mendix-text.stories.tsx
+++ b/packages/storybook/src/mendix-text.stories.tsx
@@ -5,25 +5,25 @@ import { Button } from '@utrecht/component-library-react/dist/css-module';
import '@gemeente-rotterdam/mendix-css/dist/mendix-nl-design-system-rotterdam-theme.css';
const meta = {
- title: 'Mendix Component/Text',
id: 'mendix-text',
- component: Button,
+ args: {
+ children: '',
+ },
argTypes: {
children: {
name: 'Content',
+ defaultValue: '',
description: 'Button text',
type: {
name: 'string',
required: true,
},
- defaultValue: '',
},
},
- args: {
- children: '',
- },
- tags: ['autodocs'],
+ component: Button,
parameters: {},
+ tags: ['autodocs'],
+ title: 'Mendix Component/Text',
} satisfies Meta;
export default meta;
diff --git a/packages/storybook/src/template/page-mijn-loket.stories.tsx b/packages/storybook/src/template/page-mijn-loket.stories.tsx
index 6a589b89..57d04644 100644
--- a/packages/storybook/src/template/page-mijn-loket.stories.tsx
+++ b/packages/storybook/src/template/page-mijn-loket.stories.tsx
@@ -44,8 +44,8 @@ import {
} from '@utrecht/component-library-react/dist/css-module';
const meta = {
- title: 'Template/Mijn Loket',
id: 'template-mijn-loket',
+ decorators: [(Story) => {Story()}
],
parameters: {
design: {
type: 'figma',
@@ -53,7 +53,7 @@ const meta = {
},
layout: 'fullscreen',
},
- decorators: [(Story) => {Story()}
],
+ title: 'Template/Mijn Loket',
} satisfies Meta;
export default meta;
@@ -252,8 +252,8 @@ export const Default: Story = {
}
links={[
- { href: '#', children: 'Direct regelen' },
- { href: '#', children: 'Meer informatie op Rotterdam.nl' },
+ { children: 'Direct regelen', href: '#' },
+ { children: 'Meer informatie op Rotterdam.nl', href: '#' },
]}
/>
@@ -265,8 +265,8 @@ export const Default: Story = {