UNPKG
lw-json-view
Version:
latest (0.0.23)
0.0.23
0.0.22
0.0.21
0.0.20
0.0.19
0.0.15
0.0.14
0.0.13
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.1
使用 Vite + react 18 完成的 json 内容展示组件。
github.com/Neigb/json-view
Neigb/json-view
lw-json-view
/
dist
/
JsonContext.d.ts
6 lines
(5 loc)
•
263 B
TypeScript
View Raw
1
2
3
4
5
6
/// <reference types="react" />
import
{
JsonContextType
}
from
'./global'
;
export
declare
const
defaultValue
:
JsonContextType
;
export
declare
const
JsonContext
:
import
(
"react"
).
Context
<
JsonContextType
>;
export
declare
function
useJsonContext
(
):
JsonContextType
;