Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export used react-beautiful-dnd interfaces through EUI #2173

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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';