antd-mobile
Version:
基于 React 的移动设计规范实现
30 lines (29 loc) • 897 B
TypeScript
/// <reference types="react" />
import React from 'react';
import ProgressProps from './PropsType';
export default class Progress extends React.Component<ProgressProps, any> {
static defaultProps: {
percent: number;
position: string;
unfilled: string;
appearTransition: boolean;
styles: {
progressOuter: {
backgroundColor: string;
flex: number;
};
progressBar: {
borderBottomWidth: number;
borderStyle: string;
borderColor: string;
};
};
};
constructor(props: any);
componentWillReceiveProps(nextProps: any): void;
componentDidMount(): void;
onLayout: (e: any) => void;
normalPercent: (percent: any) => any;
getWidth: (percent?: number | undefined) => number;
render(): JSX.Element;
}