-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Revise and expand Joy UI "Alert" page (#34838)
- Loading branch information
1 parent
0a29e3c
commit 92e8900
Showing
15 changed files
with
101 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import Box from '@mui/joy/Box'; | ||
import Alert from '@mui/joy/Alert'; | ||
|
||
export default function AlertBasic() { | ||
return ( | ||
<Box sx={{ width: '100%' }}> | ||
<Alert>This is a basic Alert.</Alert> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import Box from '@mui/joy/Box'; | ||
import Alert from '@mui/joy/Alert'; | ||
|
||
export default function AlertBasic() { | ||
return ( | ||
<Box sx={{ width: '100%' }}> | ||
<Alert>This is a basic Alert.</Alert> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<Alert>This is a basic Alert.</Alert> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<Alert size="sm">This is an alert in the small size.</Alert> | ||
<Alert size="md">This is an alert in the medium size.</Alert> | ||
<Alert size="lg">This is an alert in the large size.</Alert> | ||
<Alert size="sm">This is a small Alert.</Alert> | ||
<Alert size="md">This is a medium Alert.</Alert> | ||
<Alert size="lg">This is a large Alert.</Alert> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<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> | ||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters