2025-02-03 18:48:49 +08:00
|
|
|
import type { ComponentProps, FC, PropsWithChildren } from 'react'
|
|
|
|
|
|
|
|
|
|
type TProperties = PropsWithChildren<ComponentProps<'div'>>
|
|
|
|
|
|
|
|
|
|
export const Card: FC<TProperties> = (properties) => {
|
2025-03-09 10:23:11 +08:00
|
|
|
const { children, ...restProperties } = properties
|
2025-02-03 18:48:49 +08:00
|
|
|
return (
|
|
|
|
|
<div
|
2025-02-03 19:09:32 +08:00
|
|
|
className="border-[.2px] border-black/20 bg-white p-[30px]"
|
2025-03-09 10:23:11 +08:00
|
|
|
{...restProperties}
|
2025-02-03 18:48:49 +08:00
|
|
|
>
|
|
|
|
|
{children}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|