mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-13 13:09:24 -05:00
15 lines
302 B
TypeScript
15 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>
|
||
|
)
|
||
|
}
|