UNPKG

657 BTypeScriptView Raw
1import * as React from 'react';
2import { StandardProps } from '@material-ui/core';
3
4export interface TimelineProps extends StandardProps<{}, TimelineClassKey> {
5 /**
6 * The content of the component.
7 */
8 children?: React.ReactNode;
9 /**
10 * The position where the timeline's content should appear.
11 */
12 align?: 'left' | 'right' | 'alternate';
13}
14
15export type TimelineClassKey = 'root' | 'alignLeft' | 'alignRight' | 'alignAlternate';
16
17/**
18 *
19 * Demos:
20 *
21 * - [Timeline](https://mui.com/components/timeline/)
22 *
23 * API:
24 *
25 * - [Timeline API](https://mui.com/api/timeline/)
26 */
27export default function Timeline(props: TimelineProps): JSX.Element;