import type { FC, PropsWithChildren } from "hono/jsx";

interface CardProps {
  class?: string;
}

export const Card: FC<PropsWithChildren<CardProps>> = ({ children, class: className }) => {
  const classes = ["card", className].filter(Boolean).join(" ");
  return <div class={classes}>{children}</div>;
};
