|
|
@ -21,8 +21,9 @@ const SPINNER_DEFAULT_PROPS: Required<SpinnerOptionalProps> = { |
|
|
|
|
|
|
|
|
|
|
|
const Spinner: FC<SpinnerProps> = (spinnerProps): JSX.Element => { |
|
|
|
const Spinner: FC<SpinnerProps> = (spinnerProps): JSX.Element => { |
|
|
|
const { |
|
|
|
const { |
|
|
|
sx, |
|
|
|
mt = '3em', |
|
|
|
progressProps = SPINNER_DEFAULT_PROPS.progressProps, |
|
|
|
progressProps = SPINNER_DEFAULT_PROPS.progressProps, |
|
|
|
|
|
|
|
sx, |
|
|
|
...spinnerRestProps |
|
|
|
...spinnerRestProps |
|
|
|
} = spinnerProps; |
|
|
|
} = spinnerProps; |
|
|
|
|
|
|
|
|
|
|
@ -35,7 +36,7 @@ const Spinner: FC<SpinnerProps> = (spinnerProps): JSX.Element => { |
|
|
|
alignItems: 'center', |
|
|
|
alignItems: 'center', |
|
|
|
display: 'flex', |
|
|
|
display: 'flex', |
|
|
|
justifyContent: 'center', |
|
|
|
justifyContent: 'center', |
|
|
|
marginTop: '3em', |
|
|
|
marginTop: mt, |
|
|
|
|
|
|
|
|
|
|
|
[`& .${muiCircularProgressClasses.root}`]: { |
|
|
|
[`& .${muiCircularProgressClasses.root}`]: { |
|
|
|
color: TEXT, |
|
|
|
color: TEXT, |
|
|
|