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
28 lines
591 B
JavaScript
28 lines
591 B
JavaScript
import * as React from 'react';
|
|
import Box from '@mui/material/Box';
|
|
import Link from '@mui/material/Link';
|
|
|
|
const preventDefault = (event) => event.preventDefault();
|
|
|
|
export default function Links() {
|
|
return (
|
|
<Box
|
|
sx={{
|
|
typography: 'body1',
|
|
'& > :not(style) ~ :not(style)': {
|
|
ml: 2,
|
|
},
|
|
}}
|
|
onClick={preventDefault}
|
|
>
|
|
<Link href="#">Link</Link>
|
|
<Link href="#" color="inherit">
|
|
{'color="inherit"'}
|
|
</Link>
|
|
<Link href="#" variant="body2">
|
|
{'variant="body2"'}
|
|
</Link>
|
|
</Box>
|
|
);
|
|
}
|