choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
18 lines (17 loc) • 680 B
TypeScript
import React, { Component, CSSProperties, ReactNode } from 'react';
import { ConfigContextValue } from '../config-provider/ConfigContext';
export interface TimelineProps {
prefixCls?: string;
className?: string;
/** 指定最后一个幽灵节点是否存在或内容 */
pending?: ReactNode;
pendingDot?: ReactNode;
style?: CSSProperties;
}
export default class Timeline extends Component<TimelineProps, any> {
static displayName: string;
static get contextType(): React.Context<ConfigContextValue>;
static Item: React.FunctionComponent<import("./TimelineItem").TimeLineItemProps>;
context: ConfigContextValue;
render(): JSX.Element;
}