UNPKG

antd-mobile-rn

Version:

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

27 lines (26 loc) 834 B
import React from 'react'; import { LayoutChangeEvent } from 'react-native'; import { StepsPropsType } from './PropsType'; import { IStepsStyle } from './style/index.native'; export interface StepsProps extends StepsPropsType { direction?: 'vertical' | 'horizontal'; size?: string; finishIcon?: string; styles?: any; children: React.ReactElement<any>[]; } export interface StepsNativeProps extends StepsProps { styles?: IStepsStyle; } export default class Steps extends React.Component<StepsNativeProps, any> { static Step: any; static defaultProps: { direction: string; styles: { [x: string]: import("react-native").RegisteredStyle<any>; }; }; constructor(props: StepsNativeProps); onLayout: (e: LayoutChangeEvent) => void; render(): JSX.Element; }