2023-10-23 23:11:59 +02:00
|
|
|
import classNames from "clsx"
|
2021-05-08 19:52:04 +02:00
|
|
|
|
2023-10-23 23:11:59 +02:00
|
|
|
type ShadowContainerProps = React.ComponentPropsWithRef<"div">
|
2021-04-18 01:56:23 +02:00
|
|
|
|
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(
|
2023-10-23 23:11:59 +02:00
|
|
|
"mb-12 h-full max-w-full break-words rounded-2xl border border-solid border-[#000] shadow-light dark:shadow-dark ",
|
|
|
|
className,
|
2022-02-22 21:19:42 +01:00
|
|
|
)}
|
|
|
|
{...rest}
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</div>
|
2021-04-18 01:56:23 +02:00
|
|
|
)
|
|
|
|
}
|