mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-15 03:30:55 -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>
|
||
|
)
|
||
|
}
|