From c8d12319ef57ea5c9148b0eaef14e18c1093a619 Mon Sep 17 00:00:00 2001 From: Will Duffy Date: Thu, 30 Aug 2018 07:23:11 -0400 Subject: [PATCH] [react-beautiful-dnd] Add ignoreContainerClipping to DroppableProps * This prop was added in https://github.com/atlassian/react-beautiful-dnd/pull/148 but was never updated here. --- types/react-beautiful-dnd/index.d.ts | 1 + types/react-beautiful-dnd/react-beautiful-dnd-tests.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-beautiful-dnd/index.d.ts b/types/react-beautiful-dnd/index.d.ts index 780a854751..40a2fb9e73 100644 --- a/types/react-beautiful-dnd/index.d.ts +++ b/types/react-beautiful-dnd/index.d.ts @@ -73,6 +73,7 @@ export interface DroppableStateSnapshot { export interface DroppableProps { droppableId: DroppableId; type?: TypeId; + ignoreContainerClipping?: boolean; isDropDisabled?: boolean; direction?: 'vertical' | 'horizontal'; children(provided: DroppableProvided, snapshot: DroppableStateSnapshot): React.ReactElement; diff --git a/types/react-beautiful-dnd/react-beautiful-dnd-tests.tsx b/types/react-beautiful-dnd/react-beautiful-dnd-tests.tsx index 4aed203ea6..bfa5d8b8f5 100644 --- a/types/react-beautiful-dnd/react-beautiful-dnd-tests.tsx +++ b/types/react-beautiful-dnd/react-beautiful-dnd-tests.tsx @@ -73,7 +73,7 @@ class App extends React.Component<{}, AppState> { render() { return ( - + {(provided, snapshot) => (
{this.state.items.map((item, index) => (