@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
9 lines • 301 B
TypeScript
import * as React from 'react';
export interface RadioRootContext {
disabled: boolean;
readOnly: boolean;
checked: boolean;
required: boolean;
}
export declare const RadioRootContext: React.Context<RadioRootContext | undefined>;
export declare function useRadioRootContext(): RadioRootContext;