You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
345 B
18 lines
345 B
import type React from "react";
|
|
|
|
export const Card = ({
|
|
children,
|
|
className,
|
|
...rest
|
|
}: JSX.IntrinsicElements["div"]): JSX.Element => {
|
|
return (
|
|
<div
|
|
className={`flex overflow-hidden rounded-md bg-white text-sm text-black shadow-md ${
|
|
className ?? ""
|
|
}`}
|
|
{...rest}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|