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
36 lines
881 B
JavaScript
36 lines
881 B
JavaScript
import * as React from 'react';
|
|
import Breadcrumbs from '@mui/material/Breadcrumbs';
|
|
import Link from '@mui/material/Link';
|
|
|
|
function handleClick(event) {
|
|
event.preventDefault();
|
|
console.info('You clicked a breadcrumb.');
|
|
}
|
|
|
|
export default function ActiveLastBreadcrumb() {
|
|
return (
|
|
<div role="presentation" onClick={handleClick}>
|
|
<Breadcrumbs aria-label="breadcrumb">
|
|
<Link underline="hover" color="inherit" href="/">
|
|
MUI
|
|
</Link>
|
|
<Link
|
|
underline="hover"
|
|
color="inherit"
|
|
href="/material-ui/getting-started/installation/"
|
|
>
|
|
Core
|
|
</Link>
|
|
<Link
|
|
underline="hover"
|
|
color="text.primary"
|
|
href="/material-ui/react-breadcrumbs/"
|
|
aria-current="page"
|
|
>
|
|
Breadcrumbs
|
|
</Link>
|
|
</Breadcrumbs>
|
|
</div>
|
|
);
|
|
}
|