Closed SocDario closed 1 year ago
what was your solution?
@snx-mfallon I have made mistake in my code. Actually Toasts were working fine, but I initialised Toast once again for my Modal component and didn't pass specified configuration into newly initialised Toast.
I have created toastConfig const in App.tsx like this:
I have create hook for showing Toast inside my component, but hook is using i18n translation hook for text1 props.. expected behaviour is to show text1 into 2 lines without '...' tail. I have tested it without translation but textStyles and numberOfLines is not applied as it should be..After I removed defaultValue numberOflines=1 from lib code it works, but that is not solution ...