import { Dialog, Gridicon } from '@automattic/components'; import { useTranslate } from 'i18n-calypso'; export default function ItemRemoveDialog( props ) { const { title, visibility, onClose, type } = props; const translate = useTranslate(); return ( { onClose( action === 'delete' ); } } >

{ translate( 'Are you sure you want to remove this item?' ) }

{ title && (

{ title }

) }

{ translate( 'This action cannot be undone.' ) }

); }