import * as React from 'react'; import { OverridableComponent, OverrideProps } from '@material-ui/core/OverridableComponent'; import { Omit } from '@material-ui/types'; import { TypographyProps } from '@material-ui/core/Typography'; export interface LinkTypeMap

{ props: P & LinkBaseProps & { TypographyClasses?: TypographyProps['classes']; underline?: 'none' | 'hover' | 'always'; }; defaultComponent: D; classKey: LinkClassKey; } /** * * Demos: * * - [Breadcrumbs](https://mui.com/components/breadcrumbs/) * - [Links](https://mui.com/components/links/) * * API: * * - [Link API](https://mui.com/api/link/) * - inherits [Typography API](https://mui.com/api/typography/) */ declare const Link: OverridableComponent; export type LinkClassKey = | 'root' | 'underlineNone' | 'underlineHover' | 'underlineAlways' | 'button' | 'focusVisible'; export type LinkBaseProps = React.AnchorHTMLAttributes & Omit; export type LinkProps< D extends React.ElementType = LinkTypeMap['defaultComponent'], P = {} > = OverrideProps, D>; export default Link;