UNPKG
tri-test-tanto-widget
Version:
latest (0.0.1-beta.3)
0.0.1-beta.3
Tanto Widget
github.com/skymavis/tanto-kit
skymavis/tanto-kit
tri-test-tanto-widget
/
dist
/
types
/
contexts
/
widget-modal
/
WidgetModalContext.d.ts
9 lines
(8 loc)
•
275 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/// <reference types="react" />
export
interface
WidgetModalState
{
open
:
boolean
;
show
:
() =>
void
;
hide
:
() =>
void
;
setOpen
:
(
open
:
boolean
) =>
void
; }
export
declare
const
WidgetModalContext
:
import
(
"react"
).
Context
<
WidgetModalState
|
undefined
>;