GamePortrait/node_modules/vant/lib/progress/Progress.d.ts

62 lines
2.1 KiB
TypeScript

import { type ExtractPropTypes } from 'vue';
import { type Numeric } from '../utils';
export declare const progressProps: {
color: StringConstructor;
inactive: BooleanConstructor;
pivotText: StringConstructor;
textColor: StringConstructor;
showPivot: {
type: BooleanConstructor;
default: true;
};
pivotColor: StringConstructor;
trackColor: StringConstructor;
strokeWidth: (NumberConstructor | StringConstructor)[];
percentage: {
type: (NumberConstructor | StringConstructor)[];
default: number;
validator: (value: Numeric) => boolean;
};
};
export type ProgressProps = ExtractPropTypes<typeof progressProps>;
declare const _default: import("vue").DefineComponent<{
color: StringConstructor;
inactive: BooleanConstructor;
pivotText: StringConstructor;
textColor: StringConstructor;
showPivot: {
type: BooleanConstructor;
default: true;
};
pivotColor: StringConstructor;
trackColor: StringConstructor;
strokeWidth: (NumberConstructor | StringConstructor)[];
percentage: {
type: (NumberConstructor | StringConstructor)[];
default: number;
validator: (value: Numeric) => boolean;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
color: StringConstructor;
inactive: BooleanConstructor;
pivotText: StringConstructor;
textColor: StringConstructor;
showPivot: {
type: BooleanConstructor;
default: true;
};
pivotColor: StringConstructor;
trackColor: StringConstructor;
strokeWidth: (NumberConstructor | StringConstructor)[];
percentage: {
type: (NumberConstructor | StringConstructor)[];
default: number;
validator: (value: Numeric) => boolean;
};
}>>, {
inactive: boolean;
showPivot: boolean;
percentage: string | number;
}>;
export default _default;