mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-12-05 09:14:19 +03:00
* chore(deps): update storybook monorepo to v9 * Updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
29 lines
605 B
TypeScript
29 lines
605 B
TypeScript
import React from 'react';
|
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
import Form from './';
|
|
import { schema, uiSchema, formData } from './schema';
|
|
|
|
const meta: Meta = {
|
|
title: 'Form',
|
|
component: Form,
|
|
};
|
|
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof Form>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
formData,
|
|
schema,
|
|
uiSchema,
|
|
submitText: 'Submit',
|
|
},
|
|
argTypes: {
|
|
children: { control: { disable: true } },
|
|
primaryButton: { control: { disable: true } },
|
|
noSubmit: { control: { disable: true } },
|
|
widgets: { control: { disable: true } },
|
|
},
|
|
};
|