ol-toast-container.tsx 437 B

1234567891011121314151617
  1. import { CSSProperties, FC } from 'react'
  2. import { ToastContainer as BS5ToastContainer } from 'react-bootstrap'
  3. type OLToastContainerProps = {
  4. style?: CSSProperties
  5. className?: string
  6. }
  7. export const OLToastContainer: FC<
  8. React.PropsWithChildren<OLToastContainerProps>
  9. > = ({ children, className, style }) => {
  10. return (
  11. <BS5ToastContainer className={className} style={style}>
  12. {children}
  13. </BS5ToastContainer>
  14. )
  15. }