@ahwui/react-wave
Version:
Wave Progress component
22 lines (21 loc) • 611 B
TypeScript
import React from 'react';
import './index.less';
export interface IWaveProps {
radius?: number;
/** 进度 */
progress?: number;
/** 边框, 默认1px */
lineWidth?: number;
/** 边框距离, 默认3px */
space?: number;
/** 球行颜色值可以是渐变色 ['#FF9745', '#4C94FF'] */
color?: string[] | string;
/** 边框颜色 */
borderColor?: string;
textColor?: string;
/** 球星最小高度 0 ~ 100 */
min?: number;
children?: React.ReactNode;
}
declare const Wave: (props: IWaveProps) => JSX.Element;
export default Wave;