UNPKG

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