Browse
For agents
About
Vimeography: Vimeo Video Gallery WordPress Plugin
/
2.2
Vimeography: Vimeo Video Gallery WordPress Plugin
v2.2
Switch version
2.4.9
2.4.8
trunk
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.6
0.6.1
0.6.2
0.6.3
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.8.1
0.6.9
0.6.9.1
0.6.9.2
0.7
0.8
All 103 releases
Overview
Code
vimeography
/
lib
/
admin
/
app
/
src
/
context
/
Themes.ts
Themes.ts
in Vimeography: Vimeo Video Gallery WordPress Plugin 2.2, at lib/admin/app/src/context/Themes.ts
23 lines
406 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
import
*
as
React
from
"
react
"
;
2
import
{
ThemesState
}
from
"
../providers/Themes
"
;
3
4
type
ThemesContext
=
{
5
isLoading
:
boolean
;
6
error
:
Error
;
7
data
:
ThemesState
;
8
state
:
ThemesState
;
9
dispatch
:
any
;
10
}
;
11
12
const
ctx
:
ThemesContext
=
{
13
isLoading
:
true
,
14
error
:
null
,
15
data
:
null
,
16
state
:
null
,
17
dispatch
:
(
)
=>
{
}
,
18
}
;
19
20
const
ThemesContext
=
React
.
createContext
(
ctx
)
;
21
22
export
default
ThemesContext
;
23