ksylvest/tights

View on GitHub
src/file_icon.tsx

Summary

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

export const FileIcon: FC<ComponentProps<"span">> = ({
  className,
  ...props
}) => <span {...props} className={clsx("file-icon", className)} />;