import React from 'react'; import { Slide, ToastContainer, ToastContainerProps } from 'react-toastify'; import styled from 'styled-components'; const SessionToastContainerPrivate = () => { return ( ); }; const WrappedToastContainer = ({ className, ...rest }: ToastContainerProps & { className?: string }) => (
); // tslint:disable-next-line: no-default-export export const SessionToastContainer = styled(SessionToastContainerPrivate).attrs({ // custom props })` .Toastify__toast-container { } .Toastify__toast { } .Toastify__toast--error { } .Toastify__toast--warning { } .Toastify__toast--success { } .Toastify__toast-body { } .Toastify__progress-bar { } `;