diff --git a/src/components/Notification/NotificationContainer.tsx b/src/components/Notification/NotificationContainer.tsx index ee00929..1fa5424 100644 --- a/src/components/Notification/NotificationContainer.tsx +++ b/src/components/Notification/NotificationContainer.tsx @@ -1,10 +1,10 @@ import React from 'react'; -import { ToastContainer } from 'react-toastify'; +import { ToastContainer, ToastContainerProps } from 'react-toastify'; import { CloseButton } from './components/CloseButton'; import 'react-toastify/dist/ReactToastify.css'; import s from './notification.module.css'; -export function NotificationContainer() { +export function NotificationContainer(props: ToastContainerProps) { return ( ); } diff --git a/src/components/index.ts b/src/components/index.ts index c23b476..09d5910 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -16,4 +16,4 @@ export * from './Badge'; export * from './Radio'; export * from './Checkbox'; export * from './InlineLoader'; -export * from './AddressInfo' \ No newline at end of file +export * from './AddressInfo';