ksylvest/tights

View on GitHub
src/card_image.tsx

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
import { clsx } from "clsx";
import type { ComponentProps, FC } from "react";

export const CardImage: FC<ComponentProps<"div">> = ({
  className,
  ...props
}) => <div {...props} className={clsx("card-image", className)} />;