UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

119 lines (118 loc) 3.31 kB
/// <reference types="react" /> import React from 'react'; export interface StepsProps { direction?: 'vertical' | 'horizon'; current?: number; width?: number; size?: string; finishIcon?: string; styles?: any; } export default class Steps extends React.Component<StepsProps, any> { static Step: any; static defaultProps: { direction: string; styles: { head_default_s: { width: number; height: number; backgroundColor: string; borderRadius: number; borderWidth: number; borderColor: string; borderStyle: string; overflow: string; }; head_blue_s: { borderColor: string; }; head_gray_s: { borderColor: string; }; head_red_s: { borderColor: string; }; icon_s: { width: number; height: number; }; head_default_l: { width: number; height: number; backgroundColor: string; borderRadius: number; borderWidth: number; borderColor: string; borderStyle: string; overflow: string; }; head_blue_l: { borderColor: string; backgroundColor: string; }; head_gray_l: { borderColor: string; backgroundColor: string; }; head_red_l: { borderColor: string; backgroundColor: string; }; tail_default_l: { width: number; height: number; marginLeft: number; }; icon_l: { width: number; height: number; }; tail_default_s: { width: number; height: number; marginLeft: number; }; tail_gray: { backgroundColor: string; }; tail_blue: { backgroundColor: string; }; tail_error: { backgroundColor: string; }; tail_last: { backgroundColor: string; }; content_s: { paddingLeft: number; }; content_l: { paddingLeft: number; }; title_s: { fontWeight: string; fontSize: number; paddingBottom: number; color: string; }; description_s: { fontSize: number; color: string; }; title_l: { fontWeight: string; fontSize: number; paddingBottom: number; color: string; }; description_l: { fontSize: number; color: string; }; }; }; constructor(props: any); onLayout: (e: any) => void; render(): JSX.Element; }