import React from 'react'; import Dialog from '../Dialog'; import Button from '../Button'; import { TextWrapper, BtnWrapper, } from './styled'; type Props = { open: boolean; onCancel: (e: any) => void; onDelete: (e: any) => void; }; const index: React.FunctionComponent = ({ open, onCancel, onDelete, }: Props) => ( This will permanently delete the annotation. Do you want to continue? ); export default index;