{
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'primary'
| 'secondary'
| 'success'
| 'error'
| 'info'
| 'warning'
| 'textPrimary'
| 'textSecondary'
| 'textDisabled'
| string"
},
"default": "'primary'"
},
"component": { "type": { "name": "custom", "description": "element type" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func
| object
| bool>
| func
| object"
},
"additionalInfo": { "sx": true }
},
"TypographyClasses": { "type": { "name": "object" } },
"underline": {
"type": {
"name": "enum",
"description": "'always'
| 'hover'
| 'none'"
},
"default": "'always'"
},
"variant": {
"type": {
"name": "union",
"description": "'body1'
| 'body2'
| 'button'
| 'caption'
| 'h1'
| 'h2'
| 'h3'
| 'h4'
| 'h5'
| 'h6'
| 'inherit'
| 'overline'
| 'subtitle1'
| 'subtitle2'
| string"
},
"default": "'inherit'"
}
},
"name": "Link",
"imports": ["import Link from '@mui/material/Link';", "import { Link } from '@mui/material';"],
"classes": [
{
"key": "button",
"className": "MuiLink-button",
"description": "Styles applied to the root element if `component=\"button\"`.",
"isGlobal": false
},
{
"key": "focusVisible",
"className": "Mui-focusVisible",
"description": "State class applied to the root element if the link is keyboard focused.",
"isGlobal": true
},
{
"key": "root",
"className": "MuiLink-root",
"description": "Styles applied to the root element.",
"isGlobal": false
},
{
"key": "underlineAlways",
"className": "MuiLink-underlineAlways",
"description": "Styles applied to the root element if `underline=\"always\"`.",
"isGlobal": false
},
{
"key": "underlineHover",
"className": "MuiLink-underlineHover",
"description": "Styles applied to the root element if `underline=\"hover\"`.",
"isGlobal": false
},
{
"key": "underlineNone",
"className": "MuiLink-underlineNone",
"description": "Styles applied to the root element if `underline=\"none\"`.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiLink",
"forwardsRefTo": "HTMLAnchorElement",
"filename": "/packages/mui-material/src/Link/Link.js",
"inheritance": { "component": "Typography", "pathname": "/material-ui/api/typography/" },
"demos": "