ksylvest/tights

View on GitHub
src/file_label.tsx

Summary

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

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