mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 21:41:46 +08:00
20 lines
387 B
Plaintext
20 lines
387 B
Plaintext
```ts
|
|
// Form.test.ts|tsx
|
|
|
|
import { composeStories } from '@storybook/react';
|
|
|
|
import * as FormStories from './LoginForm.stories';
|
|
|
|
const { ValidForm } = composeStories(FormStories, {
|
|
decorators: [
|
|
// Define your story-level decorators here
|
|
],
|
|
globalTypes: {
|
|
// Define your global types here
|
|
},
|
|
parameters: {
|
|
// Define your story-level parameters here
|
|
},
|
|
});
|
|
```
|