Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
85 lines
3.2 KiB
JSON
85 lines
3.2 KiB
JSON
{
|
|
"props": {
|
|
"children": { "type": { "name": "node" } },
|
|
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
|
|
"color": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "'primary'<br>| 'secondary'<br>| 'success'<br>| 'error'<br>| 'info'<br>| 'warning'<br>| 'textPrimary'<br>| 'textSecondary'<br>| 'textDisabled'<br>| string"
|
|
},
|
|
"default": "'primary'"
|
|
},
|
|
"component": { "type": { "name": "custom", "description": "element type" } },
|
|
"sx": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
|
|
},
|
|
"additionalInfo": { "sx": true }
|
|
},
|
|
"TypographyClasses": { "type": { "name": "object" } },
|
|
"underline": {
|
|
"type": {
|
|
"name": "enum",
|
|
"description": "'always'<br>| 'hover'<br>| 'none'"
|
|
},
|
|
"default": "'always'"
|
|
},
|
|
"variant": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "'body1'<br>| 'body2'<br>| 'button'<br>| 'caption'<br>| 'h1'<br>| 'h2'<br>| 'h3'<br>| 'h4'<br>| 'h5'<br>| 'h6'<br>| 'inherit'<br>| 'overline'<br>| 'subtitle1'<br>| 'subtitle2'<br>| 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": "<ul><li><a href=\"/material-ui/react-breadcrumbs/\">Breadcrumbs</a></li>\n<li><a href=\"/material-ui/react-link/\">Links</a></li></ul>",
|
|
"cssComponent": false
|
|
}
|