UNPKG
@vivid-web/react-action
Version:
latest (0.0.1)
0.0.1
A wrapper around React actions
@vivid-web/react-action
/
src
/
index.ts
16 lines
(14 loc)
•
283 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export
{ useAction }
from
"./useAction"
;
export
{ notOk, ok, error, success }
from
"./helpers"
;
export
type
{
Result
,
SuccessResult
,
ErrorResult
,
Options
,
InferInput
,
InferOutput
,
InferErrorResult
,
InferErrorValue
,
InferSuccessResult
,
InferSuccessValue
, }
from
"./types"
;