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
27 lines
562 B
JavaScript
27 lines
562 B
JavaScript
import * as React from 'react';
|
|
import Box from '@mui/material/Box';
|
|
import NumberSpinner from './components/NumberSpinner';
|
|
|
|
export default function SpinnerDemo() {
|
|
return (
|
|
<Box
|
|
sx={{
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
gap: 4,
|
|
justifyContent: 'center',
|
|
}}
|
|
>
|
|
<NumberSpinner label="Number Spinner" min={10} max={40} />
|
|
<NumberSpinner
|
|
label="Small and Error"
|
|
min={10}
|
|
max={40}
|
|
size="small"
|
|
defaultValue={100}
|
|
error
|
|
/>
|
|
</Box>
|
|
);
|
|
}
|