UNPKG
react-mapbox-gl
Version:
latest (5.1.1)
5.1.1
5.1.0
5.0.0
4.8.6
4.8.3
4.8.2
4.8.1
4.8.0
4.7.3
4.7.2
4.7.1
4.7.0
4.6.2
4.6.1
4.6.0
4.5.1
4.5.0
4.4.0
4.3.2
4.3.1
4.3.0
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
4.1.0
4.0.2
4.0.1
4.0.0
4.0.0-alpha.0
3.9.2
3.9.1
3.9.0
3.8.2
3.8.1
3.8.0
3.7.0
3.5.1
3.5.0
3.4.1
3.4.0
3.3.1
3.3.0
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
2.8.0
2.7.1
2.7.0
2.6.0
2.5.3
2.5.2
2.5.1
2.5.0
2.4.0
2.3.1
2.3.0
2.2.1
2.2.0
2.1.0
2.0.6
2.0.3
2.0.2
2.0.0
1.12.0
1.11.0
1.10.0
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.4
1.7.0
1.6.0
1.5.2
1.5.0
1.4.1
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
0.29.2
0.29.1
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.0
0.22.0
0.21.0
0.19.1
0.19.0
0.18.0
0.17.0
0.16.1
0.16.0
0.15.0
0.14.0
0.13.0
0.11.0
0.10.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7.2
0.7.1
0.7.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.3
0.2.2
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A React binding of mapbox-gl-js
github.com/alex3165/react-mapbox-gl
alex3165/react-mapbox-gl
react-mapbox-gl
/
lib
/
context.d.ts
5 lines
(4 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
import
*
as
React
from
'react'
;
import
*
as
MapboxGl
from
'mapbox-gl'
;
export
declare
const
MapContext
:
React
.
Context
<
MapboxGl
.
Map
|
undefined
>;
export
declare
function
withMap
(
Component
:
React
.
ComponentClass
<
any
>
): <T>
(
props
: T
) =>
JSX
.
Element
;