index.d.mts 1.0 KB

123456789101112131415161718
  1. import * as React from "react";
  2. import * as Radix from "@radix-ui/react-primitive";
  3. import { Primitive } from "@radix-ui/react-primitive";
  4. export const createProgressScope: import("@radix-ui/react-context").CreateScope;
  5. type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
  6. export interface ProgressProps extends PrimitiveDivProps {
  7. value?: number | null | undefined;
  8. max?: number;
  9. getValueLabel?(value: number, max: number): string;
  10. }
  11. export const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
  12. export interface ProgressIndicatorProps extends PrimitiveDivProps {
  13. }
  14. export const ProgressIndicator: React.ForwardRefExoticComponent<ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>>;
  15. export const Root: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
  16. export const Indicator: React.ForwardRefExoticComponent<ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>>;
  17. //# sourceMappingURL=index.d.ts.map