overleaf/services/web/frontend/js/features/ui/components/bootstrap-3/toast-container.tsx
Mathias Jakobsen cb72799fff [web] Add toast notifications to editor (#21567)
GitOrigin-RevId: 7f7ab83d4615f564c0e79bc2a05ca6cb9e5239fd
2024-11-11 09:05:12 +00:00

14 lines
302 B
TypeScript

import classNames from 'classnames'
import { FC, HTMLProps } from 'react'
export const ToastContainer: FC<HTMLProps<HTMLDivElement>> = ({
children,
className,
...props
}) => {
return (
<div className={classNames('toast-container', className)} {...props}>
{children}
</div>
)
}