rustlanges-components 0.1.0

RustLangES components library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { cn } from "@/utils/tw-merge";
import { InputHTMLAttributes } from "react";

type RadioProps = InputHTMLAttributes<HTMLInputElement>;

export const Radio = ({ className, ...rest }: RadioProps) => {
  return (
    <input
      className={cn(["rustlanges-radio", className])}
      type="radio"
      {...rest}
    />
  );
};