src/Droppable/Droppable.js
function onDroppableReturnedDefaultAnnouncement({dragEvent, dropzone}) {
  const sourceText = dragEvent.source.textContent.trim() || dragEvent.source.id || 'draggable element';
  const dropzoneText = dropzone.textContent.trim() || dropzone.id || 'droppable element';

  return `Returned ${sourceText} from ${dropzoneText}`;
}
function onDroppableReturnedDefaultAnnouncement({dragEvent, dropzone}) {
  const sourceText = dragEvent.source.textContent.trim() || dragEvent.source.id || 'draggable element';
  const dropzoneText = dropzone.textContent.trim() || dropzone.id || 'droppable element';

  return `Returned ${sourceText} from ${dropzoneText}`;
}
function onDroppableReturnedDefaultAnnouncement ( { dragEvent , dropzone } ) { const sourceText = dragEvent . source . textContent . trim ( ) || dragEvent . source . id || 'draggable element' ; const dropzoneText = dropzone . textContent . trim ( ) || dropzone . id || 'droppable element' ; return ` ${ sourceText } ${ dropzoneText } ` ; }
Returns an announcement message when the Draggable element has returned to its original dropzone element
@param {DroppableReturnedEvent} droppableEvent
@return {String}
Returns an announcement message when the Draggable element has returned to its original dropzone element