ThemePreact/src/Card.tsx

13 lines
255 B
TypeScript

import { h, JSX } from "preact";
export default function Card({
className,
children,
...props
}: JSX.HTMLAttributes<HTMLDivElement>) {
return (
<div className={"ht-card " + className} {...props}>
{children}
</div>
);
}