mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-31 02:00:07 +02:00

Apply minor upgrades to Bootstrap 5 and react-bootstrap GitOrigin-RevId: eb013f38515ebd4b9572d139f00841aca344e3c6
17 lines
437 B
TypeScript
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>
|
|
)
|
|
}
|