UNPKG

rtaro-ui

Version:
38 lines (21 loc) 616 B
import { MouseEvent, ComponentClass } from 'react' import AtComponent, { AtIconBaseProps } from './base' export interface Item { title?: string content?: string[] contentLeft?: string[] selected?: boolean icon?: string | AtIconBaseProps color?: string type?: 'circle' bgColor?: string tailColor?: string [key: string]: any } export interface AtTimeLineProps extends AtComponent { pending?: boolean data?: Array<Item> onClick?: (value: Item) => void } declare const AtTimeLine: ComponentClass<AtTimeLineProps> export default AtTimeLine