From 6d8ffbeb53d4975aef3e7c8dce2896cc0cc38d44 Mon Sep 17 00:00:00 2001 From: stealstick Date: Tue, 22 Mar 2022 00:25:34 +0900 Subject: [PATCH] Update index.d.ts add: style type --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) 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" {