UNPKG

antd-mobile-rn

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

28 lines (27 loc) 966 B
import React from 'react'; import { LayoutChangeEvent, StyleProp, ViewStyle } from 'react-native'; import { ProgressPropsType } from './PropsType'; export interface ProgressProps extends ProgressPropsType { wrapWidth?: number; styles?: any; style?: StyleProp<ViewStyle>; barStyle?: StyleProp<ViewStyle>; } export default class Progress extends React.Component<ProgressProps, any> { static defaultProps: { percent: number; position: string; unfilled: boolean; appearTransition: boolean; styles: { [x: string]: import("react-native").RegisteredStyle<any>; }; }; constructor(props: ProgressProps); componentWillReceiveProps(nextProps: ProgressProps): void; componentDidMount(): void; onLayout: (e: LayoutChangeEvent) => void; normalPercent: (percent?: number | undefined) => any; getWidth: (percent?: number | undefined) => number; render(): JSX.Element; }