@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.
10 lines • 361 B
TypeScript
import * as React from 'react';
export type MeterRootContext = {
formattedValue: string;
max: number;
min: number;
setLabelId: React.Dispatch<React.SetStateAction<string | undefined>>;
value: number;
};
export declare const MeterRootContext: React.Context<MeterRootContext | undefined>;
export declare function useMeterRootContext(): MeterRootContext;