sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
97 lines (96 loc) • 2.94 kB
TypeScript
import { type StyleValue } from 'vue';
export interface ProgressCircleProps {
rootStyle?: StyleValue;
rootClass?: string;
percent?: number;
color?: string;
trackColor?: string;
thickness?: number;
size?: string;
status?: 'success' | 'warning' | 'error';
}
export declare const defaultProgressCircle: {
rootStyle?: (string | false | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
rootClass?: (string | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => string)) | undefined;
percent?: (number | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => number)) | undefined;
color?: (string | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => string)) | undefined;
trackColor?: (string | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => string)) | undefined;
thickness?: (number | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => number)) | undefined;
size?: (string | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => string)) | undefined;
status?: ("success" | "error" | "warning" | ((props: {
rootStyle: StyleValue;
rootClass: string;
percent: number;
color: string;
trackColor: string;
thickness: number;
size: string;
status: "success" | "warning" | "error";
}) => "success" | "error" | "warning")) | undefined;
};
export interface ProgressCircleSlots {
default?(props: Record<string, never>): any;
}