chowa
Version:
UI component library based on React
22 lines (21 loc) • 634 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 TimelineItem from './timeline-item';
declare type Mode = 'left' | 'right' | 'alternate';
export interface TimelineProps {
className?: string;
style?: React.CSSProperties;
mode?: Mode;
}
export interface TimelineInterface {
Item: typeof TimelineItem;
}
declare const Timeline: React.SFC<TimelineProps> & TimelineInterface;
export default Timeline;