mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-15 00:50:56 -05:00
cb72799fff
GitOrigin-RevId: 7f7ab83d4615f564c0e79bc2a05ca6cb9e5239fd
14 lines
302 B
TypeScript
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>
|
|
)
|
|
}
|