|
@@ -12,8 +12,9 @@ const SubmitButton: FC<ButtonProps<'button', Props>> = ({
|
|
buttonText,
|
|
buttonText,
|
|
inline,
|
|
inline,
|
|
disabled,
|
|
disabled,
|
|
|
|
+ sx,
|
|
...props
|
|
...props
|
|
-}: Props) => {
|
|
|
|
|
|
+}) => {
|
|
return (
|
|
return (
|
|
<Button
|
|
<Button
|
|
size="large"
|
|
size="large"
|
|
@@ -22,6 +23,7 @@ const SubmitButton: FC<ButtonProps<'button', Props>> = ({
|
|
type="submit"
|
|
type="submit"
|
|
fullWidth={!inline}
|
|
fullWidth={!inline}
|
|
disabled={loading || disabled}
|
|
disabled={loading || disabled}
|
|
|
|
+ sx={{ my: 2, ...sx }}
|
|
{...props}>
|
|
{...props}>
|
|
{loading ? <CircularProgress size={25} /> : buttonText}
|
|
{loading ? <CircularProgress size={25} /> : buttonText}
|
|
</Button>
|
|
</Button>
|