19 lines
1.0 KiB
TypeScript
19 lines
1.0 KiB
TypeScript
import * as React from "react";
|
|
import * as Radix from "@radix-ui/react-primitive";
|
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
export const createProgressScope: import("@radix-ui/react-context").CreateScope;
|
|
type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
export interface ProgressProps extends PrimitiveDivProps {
|
|
value?: number | null | undefined;
|
|
max?: number;
|
|
getValueLabel?(value: number, max: number): string;
|
|
}
|
|
export const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
export interface ProgressIndicatorProps extends PrimitiveDivProps {
|
|
}
|
|
export const ProgressIndicator: React.ForwardRefExoticComponent<ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
export const Root: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
export const Indicator: React.ForwardRefExoticComponent<ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
|
|
//# sourceMappingURL=index.d.ts.map
|