overleaf-cep/services/web/frontend/js/features/ui/components/ol/ol-toast-container.tsx
Tim Down 5c4cb50628 Merge pull request #24988 from overleaf/td-bs5-upgrade-and-rename
Apply minor upgrades to Bootstrap 5 and react-bootstrap

GitOrigin-RevId: eb013f38515ebd4b9572d139f00841aca344e3c6
2025-05-16 08:05:28 +00:00

17 lines
437 B
TypeScript

import { CSSProperties, FC } from 'react'
import { ToastContainer as BS5ToastContainer } from 'react-bootstrap'
type OLToastContainerProps = {
style?: CSSProperties
className?: string
}
export const OLToastContainer: FC<
React.PropsWithChildren<OLToastContainerProps>
> = ({ children, className, style }) => {
return (
<BS5ToastContainer className={className} style={style}>
{children}
</BS5ToastContainer>
)
}