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
17 lines
423 B
TypeScript
17 lines
423 B
TypeScript
import Stack from '@mui/joy/Stack';
|
|
import SendIcon from '@mui/icons-material/Send';
|
|
import Button from '@mui/joy/Button';
|
|
|
|
export default function ButtonLoadingPosition() {
|
|
return (
|
|
<Stack spacing={2} direction="row">
|
|
<Button loading loadingPosition="start">
|
|
Start
|
|
</Button>
|
|
<Button loading loadingPosition="end" endDecorator={<SendIcon />}>
|
|
End
|
|
</Button>
|
|
</Stack>
|
|
);
|
|
}
|