UNPKG
vue3-dialog-c
Version:
latest (0.0.11)
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.2
0.0.1
a vue3 dialog component
github.com/15210257331/vue3-dialog-c
15210257331/vue3-dialog-c
vue3-dialog-c
/
lib
/
types
/
useDialog.d.ts
7 lines
(6 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
type
Component
}
from
'vue'
;
import
{
DialogConfig
}
from
"./types"
;
export
declare
function
useDialog
(
): {
open
:
(
dialog
:
Component
,
config
:
DialogConfig
) =>
Promise
<
any
>;
close
:
(
data
?:
any
) =>
void
; };