@tarojsx/ui
Version:
We reinvents the UI for Taro3+
20 lines (19 loc) • 576 B
TypeScript
import React from 'react';
import '../style/Progress.scss';
export interface ProgressProps {
className?: string;
style?: React.CSSProperties;
/** 进度 */
percent?: number;
/** 状态 */
status?: 'progress' | 'success' | 'error';
/** 颜色 */
color?: string;
/** 宽度 */
strokeWidth?: number;
/** 是否隐藏文字 */
isHidePercent?: boolean;
/** 过渡动画所需的时间. 默认: 0.3, 单位: 秒, 禁用可提高性能. */
transitionDuration?: number;
}
export declare const Progress: React.FC<ProgressProps>;