You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello ,im use react-native-easy-toast 2.3.0 in my project, and use the style property get some error:
TS2769: No overload matches this call. Overload 1 of 2, '(props: ToastComponentProps | Readonly<ToastComponentProps>): Toast', gave the following error. Type '{ ref: (toastRef: Toast) => void; style: { backgroundColor: string; }; textStyle: TextStyle; position: ToastPositionType; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Toast> & Readonly<ToastComponentProps>'. Property 'style' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Toast> & Readonly<ToastComponentProps>'. Overload 2 of 2, '(props: ToastComponentProps, context: any): Toast', gave the following error. Type '{ ref: (toastRef: Toast) => void; style: { backgroundColor: string; }; textStyle: TextStyle; position: ToastPositionType; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Toast> & Readonly<ToastComponentProps>'. Property 'style' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Toast> & Readonly<ToastComponentProps>'.
hello ,im use react-native-easy-toast 2.3.0 in my project, and use the style property get some error:
i find the ToastComponentProps interface:
no style property
The text was updated successfully, but these errors were encountered: