-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs][material-ui][CircularProgress] Add Circular size demo (#43734)
Co-authored-by: ZeeshanTamboli <[email protected]>
- Loading branch information
1 parent
a60c952
commit 9a78191
Showing
4 changed files
with
33 additions
and
0 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,13 @@ | ||
import * as React from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import CircularProgress from '@mui/material/CircularProgress'; | ||
|
||
export default function CircularSize() { | ||
return ( | ||
<Stack spacing={2} direction="row" alignItems="center"> | ||
<CircularProgress size="30px" /> | ||
<CircularProgress size={40} /> | ||
<CircularProgress size="3rem" /> | ||
</Stack> | ||
); | ||
} |
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,13 @@ | ||
import * as React from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import CircularProgress from '@mui/material/CircularProgress'; | ||
|
||
export default function CircularSize() { | ||
return ( | ||
<Stack spacing={2} direction="row" alignItems="center"> | ||
<CircularProgress size="30px" /> | ||
<CircularProgress size={40} /> | ||
<CircularProgress size="3rem" /> | ||
</Stack> | ||
); | ||
} |
3 changes: 3 additions & 0 deletions
3
docs/data/material/components/progress/CircularSize.tsx.preview
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,3 @@ | ||
<CircularProgress size="30px" /> | ||
<CircularProgress size={40} /> | ||
<CircularProgress size="3rem" /> |
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