chowa
Version:
UI component library based on React
25 lines (24 loc) • 699 B
TypeScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import StepsItem from './steps-item';
declare type Mode = 'horizontal' | 'vertical';
export interface StepsProps {
className?: string;
style?: React.CSSProperties;
current?: number;
mode?: Mode;
verticalCenter?: boolean;
onSelect?: (stepNumber: number) => void;
}
export interface StepsInterface {
Item: typeof StepsItem;
}
declare const Steps: React.SFC<StepsProps> & StepsInterface;
export default Steps;