2019-05-27 16:19:39 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import BaseButton from './BaseButton';
|
|
|
|
|
2021-10-01 18:12:19 +00:00
|
|
|
interface ICancelEditingButton {
|
|
|
|
onPress(): void;
|
|
|
|
}
|
|
|
|
|
2022-04-28 18:44:40 +00:00
|
|
|
const CancelEditingButton = ({ onPress }: ICancelEditingButton) => (
|
|
|
|
<BaseButton onPress={onPress} testID='messagebox-cancel-editing' accessibilityLabel='Cancel_editing' icon='close' />
|
|
|
|
);
|
2019-05-27 16:19:39 +00:00
|
|
|
|
|
|
|
export default CancelEditingButton;
|