updated button style
This commit is contained in:
parent
2d1d496e98
commit
ff898c0c5c
|
@ -6,13 +6,19 @@ interface Props {
|
|||
buttonText: string;
|
||||
}
|
||||
const SubmitButton = ({ loading, buttonText }: Props) => (
|
||||
<Button variant="success" type="submit" block disabled={loading}>
|
||||
<Button
|
||||
variant="success"
|
||||
type="submit"
|
||||
block
|
||||
disabled={loading}
|
||||
style={{ padding: '0', height: '40px' }}
|
||||
>
|
||||
{loading ? (
|
||||
<Spinner
|
||||
as="span"
|
||||
style={{
|
||||
height: '20px',
|
||||
width: '20px',
|
||||
height: '35px',
|
||||
width: '35px',
|
||||
}}
|
||||
animation="border"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue