updated button style

This commit is contained in:
Abhinav-grd 2021-04-11 15:37:57 +05:30
parent 2d1d496e98
commit ff898c0c5c

View file

@ -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"
/>