Blame view

天文台pc/tianwentai-ui/node_modules/@radix-ui/react-progress/dist/index.d.mts 1.1 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  import * as _radix_ui_react_context from '@radix-ui/react-context';
  import * as React from 'react';
  import { Primitive } from '@radix-ui/react-primitive';
  
  declare const createProgressScope: _radix_ui_react_context.CreateScope;
  type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
  interface ProgressProps extends PrimitiveDivProps {
      value?: number | null | undefined;
      max?: number;
      getValueLabel?(value: number, max: number): string;
  }
  declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
  interface ProgressIndicatorProps extends PrimitiveDivProps {
  }
  declare const ProgressIndicator: React.ForwardRefExoticComponent<ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>>;
  declare const Root: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
  declare const Indicator: React.ForwardRefExoticComponent<ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>>;
  
  export { Indicator, Progress, ProgressIndicator, type ProgressIndicatorProps, type ProgressProps, Root, createProgressScope };