@starter-ui/core
Version:
This is a UI Components built with the utility classes from Tailwind CSS.
13 lines (12 loc) • 466 B
TypeScript
import { PropsWithChildren } from 'react';
export declare const RadioContext: import('react').Context<{
color: string;
selectedKey?: string;
disabledKeys?: string[];
activatedKey?: string;
setActivatedKey: React.Dispatch<React.SetStateAction<string | undefined>>;
}>;
declare const RadioContainer: ({ onChange, children }: PropsWithChildren<{
onChange: (key?: string) => void;
}>) => import('react').ReactNode;
export default RadioContainer;