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
14 lines
543 B
TypeScript
14 lines
543 B
TypeScript
import Box from '@mui/joy/Box';
|
|
import Alert from '@mui/joy/Alert';
|
|
|
|
export default function AlertVariants() {
|
|
return (
|
|
<Box sx={{ display: 'flex', gap: 2, width: '100%', flexDirection: 'column' }}>
|
|
<Alert variant="solid">This is an Alert using the solid variant.</Alert>
|
|
<Alert variant="soft">This is an Alert using the soft variant.</Alert>
|
|
<Alert variant="outlined">This is an Alert using the outlined variant.</Alert>
|
|
<Alert variant="plain">This is an Alert using the plain variant.</Alert>
|
|
</Box>
|
|
);
|
|
}
|