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.

21 lines (20 loc) 767 B
import * as React from 'react'; import { ProgressStatus, useProgressRoot } from './useProgressRoot.js'; import { BaseUIComponentProps } from '../../utils/types.js'; /** * Groups all parts of the progress bar and provides the task completion status to screen readers. * Renders a `<div>` element. * * Documentation: [Base UI Progress](https://base-ui.com/react/components/progress) */ declare const ProgressRoot: React.ForwardRefExoticComponent<ProgressRoot.Props & React.RefAttributes<HTMLDivElement>>; declare namespace ProgressRoot { type State = { max: number; min: number; status: ProgressStatus; }; interface Props extends useProgressRoot.Parameters, BaseUIComponentProps<'div', State> { } } export { ProgressRoot };