Skip to content
Snippets Groups Projects
Unverified Commit 720566d1 authored by Tiago Evangelista Pinto's avatar Tiago Evangelista Pinto Committed by GitHub
Browse files

[FIX] DialPad call button from end to center (#26459)

parent 7747bbd3
No related branches found
No related tags found
No related merge requests found
import { Box, Field, Modal, IconButton } from '@rocket.chat/fuselage';
import { Field, Modal, IconButton } from '@rocket.chat/fuselage';
import React, { ReactElement } from 'react';
import { DialInput } from './DialInput';
......@@ -49,21 +49,19 @@ const DialPadModal = ({ initialValue, errorMessage, handleClose }: DialPadModalP
</Field>
<Pad onClickPadButton={handlePadButtonClick} onLongPressPadButton={handlePadButtonLongPressed} />
</Modal.Content>
<Modal.Footer>
<Box display='flex' justifyContent='center'>
<IconButton
icon='phone'
disabled={isButtonDisabled}
borderRadius='full'
secondary
info
size='64px'
onClick={(): void => {
handleCallButtonClick();
handleClose();
}}
/>
</Box>
<Modal.Footer justifyContent='center'>
<IconButton
icon='phone'
disabled={isButtonDisabled}
borderRadius='full'
secondary
info
size='64px'
onClick={(): void => {
handleCallButtonClick();
handleClose();
}}
/>
</Modal.Footer>
</Modal>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment