Skip to content

Commit

Permalink
[Alert] Fix demo message dash spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookes committed Dec 31, 2019
1 parent 8bbebeb commit 088cf5d
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 44 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/components/alert/ActionAlerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export default function ActionAlerts() {

return (
<div className={classes.root}>
<Alert onClose={() => {}}>This is a success alertcheck it out!</Alert>
<Alert onClose={() => {}}>This is a success alertcheck it out!</Alert>
<Alert
action={
<Button color="inherit" size="small">
UNDO
</Button>
}
>
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/alert/ActionAlerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ export default function ActionAlerts() {

return (
<div className={classes.root}>
<Alert onClose={() => {}}>This is a success alertcheck it out!</Alert>
<Alert onClose={() => {}}>This is a success alertcheck it out!</Alert>
<Alert
action={
<Button color="inherit" size="small">
UNDO
</Button>
}
>
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/alert/ColorAlerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function ColorAlerts() {
return (
<div className={classes.root}>
<Alert severity="success" color="info">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/alert/ColorAlerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ColorAlerts() {
return (
<div className={classes.root}>
<Alert severity="success" color="info">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/DescriptionAlerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ export default function DescriptionAlerts() {
<div className={classes.root}>
<Alert severity="error">
<AlertTitle>Error</AlertTitle>
This is an error alertcheck it out!
This is an error alertcheck it out!
</Alert>
<Alert severity="warning">
<AlertTitle>Warning</AlertTitle>
This is a warning alertcheck it out!
This is a warning alertcheck it out!
</Alert>
<Alert severity="info">
<AlertTitle>Info</AlertTitle>
This is an info alertcheck it out!
This is an info alertcheck it out!
</Alert>
<Alert severity="success">
<AlertTitle>Success</AlertTitle>
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/DescriptionAlerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ export default function DescriptionAlerts() {
<div className={classes.root}>
<Alert severity="error">
<AlertTitle>Error</AlertTitle>
This is an error alertcheck it out!
This is an error alertcheck it out!
</Alert>
<Alert severity="warning">
<AlertTitle>Warning</AlertTitle>
This is a warning alertcheck it out!
This is a warning alertcheck it out!
</Alert>
<Alert severity="info">
<AlertTitle>Info</AlertTitle>
This is an info alertcheck it out!
This is an info alertcheck it out!
</Alert>
<Alert severity="success">
<AlertTitle>Success</AlertTitle>
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/FilledAlerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ export default function SimpleAlerts() {
return (
<div className={classes.root}>
<Alert variant="filled" severity="error">
This is an error alertcheck it out!
This is an error alertcheck it out!
</Alert>
<Alert variant="filled" severity="warning">
This is a warning alertcheck it out!
This is a warning alertcheck it out!
</Alert>
<Alert variant="filled" severity="info">
This is an info alertcheck it out!
This is an info alertcheck it out!
</Alert>
<Alert variant="filled" severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/FilledAlerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ export default function SimpleAlerts() {
return (
<div className={classes.root}>
<Alert variant="filled" severity="error">
This is an error alertcheck it out!
This is an error alertcheck it out!
</Alert>
<Alert variant="filled" severity="warning">
This is a warning alertcheck it out!
This is a warning alertcheck it out!
</Alert>
<Alert variant="filled" severity="info">
This is an info alertcheck it out!
This is an info alertcheck it out!
</Alert>
<Alert variant="filled" severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions docs/src/pages/components/alert/IconAlerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ export default function IconAlerts() {
return (
<div className={classes.root}>
<Alert icon={<CheckIcon fontSize="inherit" />} severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
<Alert iconMapping={{ success: <CheckCircleOutlineIcon fontSize="inherit" /> }}>
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
<Alert icon={false} severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions docs/src/pages/components/alert/IconAlerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ export default function IconAlerts() {
return (
<div className={classes.root}>
<Alert icon={<CheckIcon fontSize="inherit" />} severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
<Alert iconMapping={{ success: <CheckCircleOutlineIcon fontSize="inherit" /> }}>
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
<Alert icon={false} severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/OutlinedAlerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ export default function SimpleAlerts() {
return (
<div className={classes.root}>
<Alert variant="outlined" severity="error">
This is an error alertcheck it out!
This is an error alertcheck it out!
</Alert>
<Alert variant="outlined" severity="warning">
This is a warning alertcheck it out!
This is a warning alertcheck it out!
</Alert>
<Alert variant="outlined" severity="info">
This is an info alertcheck it out!
This is an info alertcheck it out!
</Alert>
<Alert variant="outlined" severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/OutlinedAlerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ export default function SimpleAlerts() {
return (
<div className={classes.root}>
<Alert variant="outlined" severity="error">
This is an error alertcheck it out!
This is an error alertcheck it out!
</Alert>
<Alert variant="outlined" severity="warning">
This is a warning alertcheck it out!
This is a warning alertcheck it out!
</Alert>
<Alert variant="outlined" severity="info">
This is an info alertcheck it out!
This is an info alertcheck it out!
</Alert>
<Alert variant="outlined" severity="success">
This is a success alertcheck it out!
This is a success alertcheck it out!
</Alert>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/SimpleAlerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export default function SimpleAlerts() {

return (
<div className={classes.root}>
<Alert severity="error">This is an error alertcheck it out!</Alert>
<Alert severity="warning">This is a warning alertcheck it out!</Alert>
<Alert severity="info">This is an info alertcheck it out!</Alert>
<Alert severity="success">This is a success alertcheck it out!</Alert>
<Alert severity="error">This is an error alertcheck it out!</Alert>
<Alert severity="warning">This is a warning alertcheck it out!</Alert>
<Alert severity="info">This is an info alertcheck it out!</Alert>
<Alert severity="success">This is a success alertcheck it out!</Alert>
</div>
);
}
8 changes: 4 additions & 4 deletions docs/src/pages/components/alert/SimpleAlerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export default function SimpleAlerts() {

return (
<div className={classes.root}>
<Alert severity="error">This is an error alertcheck it out!</Alert>
<Alert severity="warning">This is a warning alertcheck it out!</Alert>
<Alert severity="info">This is an info alertcheck it out!</Alert>
<Alert severity="success">This is a success alertcheck it out!</Alert>
<Alert severity="error">This is an error alertcheck it out!</Alert>
<Alert severity="warning">This is a warning alertcheck it out!</Alert>
<Alert severity="info">This is an info alertcheck it out!</Alert>
<Alert severity="success">This is a success alertcheck it out!</Alert>
</div>
);
}

0 comments on commit 088cf5d

Please sign in to comment.