parent
fefb9ec395
commit
81b46c53cc
@ -1,7 +1,6 @@
|
|||||||
import type {Meta, StoryObj} from '@storybook/react';
|
import type {Meta, StoryObj} from '@storybook/react';
|
||||||
import {ReactNode} from 'react';
|
import {ReactNode} from 'react';
|
||||||
|
|
||||||
import {Toaster} from 'react-hot-toast';
|
|
||||||
import Button from './Button';
|
import Button from './Button';
|
||||||
import {ShowToastProps, showToast} from './Toast';
|
import {ShowToastProps, showToast} from './Toast';
|
||||||
|
|
||||||
@ -25,7 +24,6 @@ const meta = {
|
|||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
decorators: [(_story: () => ReactNode) => (
|
decorators: [(_story: () => ReactNode) => (
|
||||||
<>
|
<>
|
||||||
<Toaster />
|
|
||||||
{_story()}
|
{_story()}
|
||||||
</>
|
</>
|
||||||
)]
|
)]
|
||||||
|
Loading…
Reference in New Issue
Block a user