storybook/docs/snippets/react/override-compose-story-test.compose-story.js.mdx
2023-08-01 14:47:37 +01:00

20 lines
414 B
Plaintext

```js
// Form.test.js|jsx
import { composeStory } from '@storybook/react';
import Meta, { ValidForm as ValidFormStory } from './LoginForm.stories';
const FormValidation = composeStory(ValidFormStory, Meta, {
decorators: [
// Define your story-level decorators here
],
globalTypes: {
// Define your global types here
},
parameters: {
// Define your story-level parameters here
},
});
```