UNPKG

@ant-design/react-native

Version:

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

22 lines (21 loc) 703 B
import React from 'react'; import { LayoutChangeEvent } from 'react-native'; import { WithThemeStyles } from '../style'; import StepsItem from './StepsItem'; import { StepsStyle } from './style/index'; export interface StepsProps extends WithThemeStyles<StepsStyle> { direction?: 'vertical' | 'horizontal'; size?: string; finishIcon?: string; children: React.ReactElement<any>[]; current?: number; } export default class Steps extends React.Component<StepsProps, any> { static Step: typeof StepsItem; static defaultProps: { direction: string; }; constructor(props: StepsProps); onLayout: (e: LayoutChangeEvent) => void; render(): React.JSX.Element; }