import * as React from 'react'; import { Omit } from '@material-ui/types'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; import { TypographyProps } from '../Typography'; export interface LinkTypeMap
{
props: P &
LinkBaseProps & {
/**
* The content of the link.
*/
children?: React.ReactNode;
/**
*/
classes?: {
/** Styles applied to the root element. */
root?: string;
/** Styles applied to the root element if `underline="none"`. */
underlineNone?: string;
/** Styles applied to the root element if `underline="hover"`. */
underlineHover?: string;
/** Styles applied to the root element if `underline="always"`. */
underlineAlways?: string;
/** Styles applied to the root element if `component="button"`. */
button?: string;
/** Pseudo-class applied to the root element if the link is keyboard focused. */
focusVisible?: string;
};
/**
* The color of the link.
* @default 'primary'
*/
color?: TypographyProps['color'];
/**
* `classes` prop applied to the [`Typography`](/api/typography/) element.
*/
TypographyClasses?: TypographyProps['classes'];
/**
* Controls when the link should have an underline.
* @default 'hover'
*/
underline?: 'none' | 'hover' | 'always';
/**
* Applies the theme typography styles.
* @default 'inherit'
*/
variant?: TypographyProps['variant'];
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Breadcrumbs](https://material-ui.com/components/breadcrumbs/)
* - [Links](https://material-ui.com/components/links/)
*
* API:
*
* - [Link API](https://material-ui.com/api/link/)
* - inherits [Typography API](https://material-ui.com/api/typography/)
*/
declare const Link: OverridableComponent