16 lines
369 B
TypeScript
Raw Normal View History

import type { ComponentProps, FC, PropsWithChildren } from 'react'
type TProperties = PropsWithChildren<ComponentProps<'div'>>
export const Card: FC<TProperties> = (properties) => {
const { children, ...rest } = properties
return (
<div
className="border-[.2px] border-black/20 bg-white p-[30px]"
{...rest}
>
{children}
</div>
)
}