@brizy/ui
Version:
React elements in Brizy style
12 lines (11 loc) • 375 B
TypeScript
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;