@starter-ui/core
Version:
This is a UI Components built with the utility classes from Tailwind CSS.
18 lines (17 loc) • 575 B
TypeScript
import { PropsWithChildren } from 'react';
interface Props {
id?: string;
selectedKey?: string;
disabledKeys?: string[];
color?: string;
className?: string;
onChange?: (value?: string) => void;
}
declare const Radio: {
({ id, color, selectedKey, disabledKeys, className, onChange, children }: PropsWithChildren<Props>): import("react/jsx-runtime").JSX.Element;
Item: ({ id, className, children }: PropsWithChildren<{
id?: string;
className?: string;
}>) => import("react/jsx-runtime").JSX.Element;
};
export default Radio;