mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-09 22:09:07 +01:00
20 lines
477 B
TypeScript
20 lines
477 B
TypeScript
import classNames from 'clsx'
|
|
|
|
type ShadowContainerProps = React.ComponentPropsWithRef<'div'>
|
|
|
|
export const ShadowContainer: React.FC<ShadowContainerProps> = (props) => {
|
|
const { children, className, ...rest } = props
|
|
|
|
return (
|
|
<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>
|
|
)
|
|
}
|