@material-ui/lab
Version:
Material-UI Lab - Incubator for Material-UI React components.
39 lines (35 loc) • 854 B
TypeScript
import * as React from 'react';
import { StandardProps } from '@material-ui/core';
export interface TimelineDotProps extends StandardProps<{}, TimelineDotClassKey> {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* The dot can appear filled or outlined.
*/
variant?: 'default' | 'outlined';
/**
* The dot can have a different colors.
*/
color?: 'inherit' | 'primary' | 'secondary' | 'grey';
}
export type TimelineDotClassKey =
| 'root'
| 'defaultDefault'
| 'defaultPrimary'
| 'defaultSecondary'
| 'outlinedDefault'
| 'outlinedPrimary'
| 'outlinedSecondary';
/**
*
* Demos:
*
* - [Timeline](https://mui.com/components/timeline/)
*
* API:
*
* - [TimelineDot API](https://mui.com/api/timeline-dot/)
*/
export default function TimelineDot(props: TimelineDotProps): JSX.Element;