mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Rework Button component to pass its label via children content
This commit is contained in:
@@ -120,7 +120,9 @@ const ContactFormPopup: ComponentType<Props> = ({ initEmail = '', onSubmit, onCl
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Button label={<Message key="send" defaultMessage="Send" />} block type="submit" disabled={isLoading} />
|
||||
<Button block type="submit" disabled={isLoading}>
|
||||
<Message key="send" defaultMessage="Send" />
|
||||
</Button>
|
||||
</Form>
|
||||
</Popup>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user