2022-10-06 01:02:24 +00:00
|
|
|
import clsx from 'clsx'
|
|
|
|
|
|
|
|
export function Card(props: JSX.IntrinsicElements['div']) {
|
|
|
|
const { children, className, ...rest } = props
|
|
|
|
return (
|
|
|
|
<div
|
|
|
|
className={clsx(
|
2022-10-06 03:20:51 +00:00
|
|
|
'cursor-pointer rounded-lg border bg-white transition-shadow hover:shadow-md focus:shadow-md',
|
2022-10-06 01:02:24 +00:00
|
|
|
className
|
|
|
|
)}
|
|
|
|
{...rest}
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|