UNPKG
ndd-react
Version:
latest (0.1.1)
0.1.1
A lightweight, customizable toast notification library for React applications
ndd-react
/
dist
/
toast.d.ts
8 lines
(7 loc)
•
220 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
'react'
;
import
{
Toast
as
ToastType
}
from
'./ToastContext'
;
interface
ToastProps
extends
ToastType
{
onRemove
:
(
id
:
string
) =>
void
; }
export
declare
const
Toast
:
React
.
FC
<
ToastProps
>;
export
{};