1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-09-19 14:05:53 +02:00
.profile/components/design/ShadowContainer.tsx

20 lines
481 B
TypeScript
Raw Normal View History

import classNames from "clsx"
type ShadowContainerProps = React.ComponentPropsWithRef<"div">
2021-04-18 01:56:23 +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,
2022-02-22 21:19:42 +01:00
)}
{...rest}
>
{children}
</div>
2021-04-18 01:56:23 +02:00
)
}