Skip to content

Commit

Permalink
Export used react-beautiful-dnd interfaces through EUI (#2173)
Browse files Browse the repository at this point in the history
* Export used react-beautiful-dnd interfaces through EUI

* changelog
  • Loading branch information
chandlerprall authored Jul 26, 2019
1 parent 4dbffd7 commit 278a16d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
12 changes: 12 additions & 0 deletions src/components/drag_and_drop/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 278a16d

Please sign in to comment.