UNPKG
react-beautiful-dnd
Version:
alpha (12.2.0-alpha.1)
beta (13.0.0-beta.1)
latest (13.1.1)
13.1.1
13.1.0
13.0.0
13.0.0-beta.1
12.2.0
12.2.0-alpha.1
12.1.1
12.1.0
12.1.0-alpha.0
12.0.0
12.0.0-beta.13
12.0.0-beta.12
12.0.0-beta.11
12.0.0-beta.10
12.0.0-beta.9
12.0.0-beta.8
12.0.0-beta.7
12.0.0-beta.6
12.0.0-beta.5
12.0.0-beta.4
12.0.0-beta.3
12.0.0-beta.2
12.0.0-beta.1
12.0.0-alpha.7
12.0.0-alpha.6
12.0.0-alpha.4
12.0.0-alpha.3
12.0.0-alpha.2
12.0.0-alpha.1
11.0.5
11.0.4
11.0.3
11.0.2
11.0.1
11.0.0
11.0.0-beta.3
11.0.0-beta.2
11.0.0-beta
10.1.1
10.1.0
10.0.4
10.0.3
10.0.2
10.0.1
10.0.0
9.0.2
9.0.1
9.0.0
8.0.7
8.0.6
8.0.5
8.0.4
8.0.3
8.0.2
8.0.1
8.0.0
7.1.3
7.1.2
7.1.1
7.1.0
7.0.2
7.0.1
7.0.0
6.0.2
6.0.1
6.0.0
5.0.0
4.0.1
4.0.0
3.0.0
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.0
2.4.1
2.4.0
2.3.1
2.3.0
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.0.3
1.0.2
1.0.1
1.0.0
Beautiful and accessible drag and drop for lists with React
atlassian/react-beautiful-dnd
react-beautiful-dnd
/
src
/
view
/
context
/
droppable-context.js
11 lines
(8 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// @flow
import
React
from
'react'
;
import
type
{
DroppableId
,
TypeId
}
from
'../../types'
;
export
type
DroppableContextValue
= {|
droppableId
:
DroppableId
,
type
:
TypeId
, |};
export
default
React
.
createContext
<?
DroppableContextValue
>(
null
);