Files
react-test/docs/data/material/components/alert/BasicAlerts.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
453 B
JavaScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import Alert from '@mui/material/Alert';
import Stack from '@mui/material/Stack';
export default function BasicAlerts() {
return (
<Stack sx={{ width: '100%' }} spacing={2}>
<Alert severity="success">This is a success Alert.</Alert>
<Alert severity="info">This is an info Alert.</Alert>
<Alert severity="warning">This is a warning Alert.</Alert>
<Alert severity="error">This is an error Alert.</Alert>
</Stack>
);
}