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.

12 lines (11 loc) 472 B
import * as React from 'react'; import type { ProgressRoot } from './ProgressRoot.js'; import type { useProgressRoot } from './useProgressRoot.js'; export type ProgressRootContext = Omit<useProgressRoot.ReturnValue, 'getRootProps'> & { state: ProgressRoot.State; }; /** * @ignore - internal component. */ export declare const ProgressRootContext: React.Context<ProgressRootContext | undefined>; export declare function useProgressRootContext(): ProgressRootContext;