1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-14 16:13:14 +01:00
.profile/components/design/ShadowContainer.tsx

20 lines
477 B
TypeScript
Raw Normal View History

import classNames from 'clsx'
2021-04-18 01:56:23 +02:00
type ShadowContainerProps = React.ComponentPropsWithRef<'div'>
export const ShadowContainer: React.FC<ShadowContainerProps> = (props) => {
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
)
}