calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.73k stars 265 forks source link

Inconsistent Availability of text1 and text2 Style Props in toast.show Function #478

Closed EmreKarslan closed 11 months ago

EmreKarslan commented 1 year ago

Currently, in the React Native Toast Message library, the text1 and text2 style props are available in the BaseToastProps, but they are not accessible through the toast.show function. This inconsistency limits the flexibility of customizing the text styles when displaying toast messages.

The text1 and text2 style props are crucial for allowing developers to modify the appearance of toast messages on a case-by-case basis. However, the inability to utilize these props via the toast.show function hampers the ability to dynamically change the text styles when using the library.

It would be beneficial to enhance the library's functionality by ensuring that the text1 and text2 style props are accessible through the toast.show function. This modification would empower developers to easily modify the text styles when displaying toast messages, resulting in a more versatile and customizable user experience.

By addressing this issue, React Native Toast Message can provide a more comprehensive solution for developers, enabling them to create visually consistent and appealing toast messages across their applications.