first commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
import * as React from "react";
|
||||
import Card from "@mui/material/Card";
|
||||
import { Typography } from "@mui/material";
|
||||
import Alert from "@mui/material/Alert";
|
||||
import Stack from "@mui/material/Stack";
|
||||
|
||||
const BasicAlerts = () => {
|
||||
return (
|
||||
<>
|
||||
<Card
|
||||
sx={{
|
||||
boxShadow: "none",
|
||||
borderRadius: "10px",
|
||||
p: "25px",
|
||||
mb: "15px",
|
||||
}}
|
||||
className="card-dark-bg"
|
||||
>
|
||||
<Typography
|
||||
as="h3"
|
||||
sx={{
|
||||
fontSize: 18,
|
||||
fontWeight: 500,
|
||||
mb: '10px'
|
||||
}}
|
||||
>
|
||||
Basic Alerts
|
||||
</Typography>
|
||||
|
||||
<Stack sx={{ width: "100%" }} spacing={2}>
|
||||
<Alert severity="error">This is an error alert — check it out!</Alert>
|
||||
|
||||
<Alert severity="warning">
|
||||
This is a warning alert — check it out!
|
||||
</Alert>
|
||||
|
||||
<Alert severity="info">This is an info alert — check it out!</Alert>
|
||||
|
||||
<Alert severity="success">
|
||||
This is a success alert — check it out!
|
||||
</Alert>
|
||||
</Stack>
|
||||
</Card>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default BasicAlerts;
|
||||
Reference in New Issue
Block a user