diff --git a/CHANGELOG.md b/CHANGELOG.md index 46379ba0f4d..e42060b9cbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Added `partial` glyph to `EuiIcon` ([#2152](https://github.com/elastic/eui/pull/2152)) - Added `tall`, `fullWidth`, and `isInvalid` props to `EuiFilePicker` ([#2145](https://github.com/elastic/eui/pull/2145)) +- Added exports for `react-beautiful-dnd` interfaces used by EUI components ([#2173](https://github.com/elastic/eui/pull/2173)) **Bug fixes** diff --git a/src/components/drag_and_drop/index.ts b/src/components/drag_and_drop/index.ts index 8ca9763f8fb..7459f10f00a 100644 --- a/src/components/drag_and_drop/index.ts +++ b/src/components/drag_and_drop/index.ts @@ -2,3 +2,15 @@ export { EuiDragDropContext } from './drag_drop_context'; export { EuiDraggable } from './draggable'; export { EuiDroppable } from './droppable'; export { copy, move, reorder } from './services'; + +// Interfaces in react-beautiful-dnd that EUI abstracts over +// allows consumers to pull these from EUI instead of react-beautiful-dnd +export { + DraggableLocation, + DraggableProps, + DragDropContextProps, + DragStart, + DroppableProps, + DropResult, + ResponderProvided, +} from 'react-beautiful-dnd';