UNPKG
@minimaltech/ra-infra
Version:
latest (0.0.7)
next (0.0.8-1)
0.0.8-1
0.0.8-0
0.0.7
0.0.7-11
0.0.7-10
0.0.7-9
0.0.7-8
0.0.7-7
0.0.7-6
0.0.7-5
0.0.7-4
0.0.7-3
0.0.7-2
0.0.7-1
0.0.7-0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
Minimal Technology ReactJS Infrastructure
github.com/phatnt199/ra-infra/wiki
phatnt199/ra-infra
@minimaltech/ra-infra
/
dist
/
ui
/
hooks
/
use-confirm.d.ts
11 lines
(10 loc)
•
283 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
interface
IUseConfirmReturn
{
message
?:
string
;
confirm
:
(
opts
: { message:
string
; }
) =>
Promise
<
boolean
>;
handleClose
:
() =>
void
;
handleConfirm
:
() =>
void
;
handleAbort
:
() =>
void
; }
export
declare
const
useConfirm
:
() =>
IUseConfirmReturn
;