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.

15 lines 699 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; import type { ProgressRoot } from "../root/ProgressRoot.js"; /** * A text label displaying the current value. * Renders a `<span>` element. * * Documentation: [Base UI Progress](https://base-ui.com/react/components/progress) */ export declare const ProgressValue: React.ForwardRefExoticComponent<ProgressValue.Props & React.RefAttributes<HTMLSpanElement>>; export declare namespace ProgressValue { interface Props extends Omit<BaseUIComponentProps<'span', ProgressRoot.State>, 'children'> { children?: null | ((formattedValue: string | null, value: number | null) => React.ReactNode); } }