2019-05-27 16:19:39 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import BaseButton from './BaseButton';
|
|
|
|
|
2021-09-13 20:41:05 +00:00
|
|
|
interface ICancelEditingButton {
|
|
|
|
onPress(): void;
|
|
|
|
}
|
|
|
|
|
2022-03-31 22:39:24 +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;
|