diff --git a/index.d.ts b/index.d.ts index 930ba7b..c2eece6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -7,6 +7,7 @@ */ import { Component, ReactNode } from "react"; +import { StyleProp, ViewStyle } from "react-native"; interface ToastComponentProps { position?: "bottom" | "center" | "top"; @@ -15,6 +16,7 @@ interface ToastComponentProps { fadeInDuration?: number; fadeOutDuration?: number; opacity?: number; + style?:StyleProp; } declare module "react-native-easy-toast" {