UNPKG
globalbridge-lsf-custom
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
GlobalBridge in-house labeling tool, originating from LSF.
globalbridge-lsf-custom
/
src
/
components
/
ImageView
/
ImageViewContext.ts
6 lines
(3 loc)
•
194 B
text/typescript
View Raw
1
2
3
4
5
6
import
{ createContext }
from
'react'
;
export
const
ImageViewContext
= createContext<{
suggestion
:
boolean
}>({
suggestion
:
false
});
export
const
ImageViewProvider
=
ImageViewContext
.
Provider
;