Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
25 lines
703 B
TypeScript
25 lines
703 B
TypeScript
import Box from '@mui/joy/Box';
|
|
import Button from '@mui/joy/Button';
|
|
import Link from '@mui/joy/Link';
|
|
import IconButton from '@mui/joy/IconButton';
|
|
import CircularProgress from '@mui/joy/CircularProgress';
|
|
|
|
export default function CircularProgressButton() {
|
|
return (
|
|
<Box sx={{ display: 'flex', gap: 2, alignItems: 'center', flexWrap: 'wrap' }}>
|
|
<Button startDecorator={<CircularProgress variant="solid" />}>Loading…</Button>
|
|
<IconButton>
|
|
<CircularProgress />
|
|
</IconButton>
|
|
<Link
|
|
component="button"
|
|
variant="plain"
|
|
startDecorator={<CircularProgress />}
|
|
sx={{ p: 1 }}
|
|
>
|
|
Submitting...
|
|
</Link>
|
|
</Box>
|
|
);
|
|
}
|