Closed milos2211 closed 2 years ago
Currently interface doesn't allow value "top-full" and "bottom-full"
Definitions:
export interface ReactNotificationOptions { id?: string; onRemoval?: (id: string, removedBy: any) => void; title?: string | React.ReactNode | React.FunctionComponent; message?: string | React.ReactNode | React.FunctionComponent; content?: React.ComponentClass | React.FunctionComponent | React.ReactNode; type?: 'success' | 'danger' | 'info' | 'default' | 'warning'; container: 'top-left' | 'top-right' | 'top-center' | 'center' | 'bottom-left' | 'bottom-right' | 'bottom-center'; insert?: 'top' | 'bottom'; dismiss?: DismissOptions; animationIn?: string[]; animationOut?: string[]; slidingEnter?: TransitionOptions; slidingExit?: TransitionOptions; touchRevert?: TransitionOptions; touchSlidingExit?: TransitionOptions; width?: number; }
container field should have this value:
container: 'top-full' | 'top-left' | 'top-right' | 'top-center' | 'center' | 'bottom-full' | 'bottom-left' | 'bottom-right' | 'bottom-center';
A new version of @types/react-notifications-component v3.1 is available now with support for these values ☺️
@types/react-notifications-component
Currently interface doesn't allow value "top-full" and "bottom-full"
Definitions:
container field should have this value: