UNPKG

@brizy/ui

Version:
12 lines (11 loc) 375 B
import { ReactElement, ReactNode } from "react"; import { Literal } from "../types"; export type RadioType = "default" | "button"; export interface Props { value: Literal; disabled?: boolean; type?: RadioType; children?: ReactNode; className?: string; } export declare const Radio: ({ value, disabled, type, children, className }: Props) => ReactElement;