UNPKG

@mui/lab

Version:

Laboratory for new Material UI modules.

35 lines (34 loc) 1.07 kB
import * as React from 'react'; import { SxProps } from '@mui/system'; import { Theme } from '@mui/material/styles'; import { InternalStandardProps as StandardProps } from '@mui/material/internal'; import { TimelineItemClasses } from "./timelineItemClasses.js"; export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> { /** * The position where the timeline's item should appear. */ position?: 'left' | 'right' | 'alternate' | 'alternate-reverse'; /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial<TimelineItemClasses>; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme>; } /** * * Demos: * * - [Timeline](https://mui.com/material-ui/react-timeline/) * * API: * * - [TimelineItem API](https://mui.com/material-ui/api/timeline-item/) */ export default function TimelineItem(props: TimelineItemProps): React.JSX.Element;