UNPKG

@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 411 B
import * as React from 'react'; import type { MenuRoot } from "../root/MenuRoot.js"; export interface MenuRadioGroupContext { value: any; setValue: (newValue: any, eventDetails: MenuRoot.ChangeEventDetails) => void; disabled: boolean; } export declare const MenuRadioGroupContext: React.Context<MenuRadioGroupContext | undefined>; export declare function useMenuRadioGroupContext(): MenuRadioGroupContext;