UNPKG
react-awesome-toasts
Version:
latest (0.0.9)
0.0.9
0.0.8
0.0.8-alpha.1
0.0.7
0.0.6
0.0.5
0.0.4
0.0.4-alpha.3
0.0.4-alpha.2
0.0.4-alpha.1
0.0.3
0.0.2
Higly customisable React toast notifications with automanaged queue
BananaBobby/react-awesome-toasts
react-awesome-toasts
/
dist
/
Toast
/
Toast.types.d.ts
9 lines
(8 loc)
•
224 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
React
from
'react'
;
export
declare
type
Props
= {
text
:
string
;
actionText
?:
string
;
ariaLabel
?:
string
;
onActionClick
?:
(
event
:
React
.
MouseEvent
<
HTMLButtonElement
>
) =>
void
;
variant
?:
'error'
; };