2022-07-28 21:20:41 +02:00
|
|
|
import classNames from 'clsx'
|
2021-05-08 19:52:04 +02:00
|
|
|
|
2021-04-18 01:56:23 +02:00
|
|
|
type ShadowContainerProps = React.ComponentPropsWithRef<'div'>
|
|
|
|
|
2023-08-01 17:22:09 +02:00
|
|
|
export const ShadowContainer = (props: ShadowContainerProps): JSX.Element => {
|
2021-04-18 01:56:23 +02:00
|
|
|
const { children, className, ...rest } = props
|
|
|
|
|
|
|
|
return (
|
2022-02-22 21:19:42 +01:00
|
|
|
<div
|
|
|
|
className={classNames(
|
|
|
|
'mb-12 h-full max-w-full break-words rounded-2xl border border-solid border-[#000] shadow-light dark:shadow-dark ',
|
|
|
|
className
|
|
|
|
)}
|
|
|
|
{...rest}
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</div>
|
2021-04-18 01:56:23 +02:00
|
|
|
)
|
|
|
|
}
|