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.

16 lines 747 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<ProgressValueProps & React.RefAttributes<HTMLSpanElement>>; export interface ProgressValueProps extends Omit<BaseUIComponentProps<'span', ProgressRoot.State>, 'children'> { children?: null | ((formattedValue: string | null, value: number | null) => React.ReactNode); } export declare namespace ProgressValue { type Props = ProgressValueProps; }