react-poptart
Version:
A simple and elegant notification toaster for React.js
15 lines (14 loc) • 458 B
TypeScript
import React from 'react';
import { I_AlertInput, I_PoptartConfig, I_AlertProps } from './types';
interface Props {
input: I_AlertInput;
alert: I_AlertProps;
config: I_PoptartConfig;
value: string | undefined;
setValue: React.Dispatch<React.SetStateAction<string | undefined>>;
onConfirm: () => void;
error: string | undefined;
zIndex: number;
}
export default function AlertInput(props: Props): React.JSX.Element;
export {};