UNPKG
dnd-core
Version:
beta (3.0.0)
latest (16.0.1)
16.0.1
16.0.0
15.1.2
15.1.1
15.1.0
15.0.2
15.0.1
15.0.0
14.0.1
14.0.0
12.0.1
12.0.0
11.1.3
11.1.1
11.1.0
11.0.0
10.0.2
10.0.1
10.0.0
9.5.1
9.5.0
9.4.0
9.3.4
9.3.2
9.3.1
9.1.0
9.0.0
8.0.3
8.0.2
8.0.0
7.7.0
7.6.0
7.5.0
7.4.4
7.4.0
7.2.0
7.1.0
7.0.2
7.0.1
7.0.0
6.0.0
4.0.5
4.0.4
4.0.3
4.0.2
4.0.0
3.0.2
3.0.1
3.0.0
2.6.0
2.5.4
2.5.3
2.5.2
2.5.1
2.4.0
2.3.0
2.2.4
2.2.3
2.1.0
2.0.2
2.0.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.13.1
0.13.0
0.12.1
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.1
0.3.0
0.1.0
0.0.1
Drag and drop sans the GUI
react-dnd/react-dnd
dnd-core
/
src
/
reducers
/
stateId.ts
6 lines
(4 loc)
•
100 B
text/typescript
View Raw
1
2
3
4
5
6
export
type
State
=
number
export
default
function
stateId
(
state
:
State
=
0
) {
return
state +
1
}