jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
11 lines (10 loc) • 483 B
TypeScript
import React from 'react';
import type { ColorItemType, ProgressProps } from '../types';
export default class Progress extends React.Component<ProgressProps, Object> {
static defaultProps: Partial<ProgressProps>;
getCurrentColor(): string;
getLevelColor(color: Array<string> | Array<ColorItemType>): string;
getColorArray(color: Array<string> | Array<ColorItemType>): ColorItemType[];
getLabel(prefixCls: string): JSX.Element | null;
render(): JSX.Element;
}