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 472 B
import * as React from 'react'; export interface FieldsetRootContext { legendId: string | undefined; setLegendId: React.Dispatch<React.SetStateAction<string | undefined>>; disabled: boolean | undefined; } export declare const FieldsetRootContext: React.Context<FieldsetRootContext>; export declare function useFieldsetRootContext(optional: true): FieldsetRootContext | undefined; export declare function useFieldsetRootContext(optional?: false): FieldsetRootContext;