react-native-alert-boxes
Version:
A package to easily create different types of alert boxes in React Native.
15 lines (12 loc) • 348 B
TypeScript
declare module "react-native-alert-boxes" {
import { ReactNode } from "react";
interface AlertBoxProps {
type: "success" | "error" | "warning" | "info";
title?: string;
message: string;
backgroundColor?: string;
textColor?: string;
}
const AlertBox: React.FC<AlertBoxProps>;
export default AlertBox;
}