UNPKG
@daysnap/horn-use
Version:
latest (0.0.16)
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
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.1
horn use
github.com/daysnap/horn
@daysnap/horn-use
/
es
/
useToggle
/
index.d.ts
2 lines
(1 loc)
•
126 B
TypeScript
View Raw
1
2
export
declare
const
useToggle
:
(
initialValue
?:
boolean
) =>
readonly
[
import
(
"vue"
).
Ref
<
boolean
>,
(
value
?:
boolean
) =>
void
];