title: Replacing the library react-native-toast-message leading icon
body: <p>I am trying to use the library <code>react-native-toast-message</code> and replacing the type <code>error</code> by using a different SVG image file from the local assets folder.</p>
  <pre><code>const errIcon: ImageSourcePropType = {
    uri: '../assets/tick.svg'
  };
  
  export const toastConfig = {
    error: ({ text1, props, ...rest }) =&gt; (
      &lt;BaseToast
        {...rest}
        leadingIcon={errIcon}
        contentContainerStyle={{ paddingHorizontal: 15 }}
        text1Style={{
          fontSize: 15,
          fontWeight: '400'
        }}
        text1={text1}
      /&gt;
    )}
  </code></pre>
  <p>The icon is not showing. I am wondering what is the right way to replace the leading icon?</p>
  <p>Reference
  <a href="https://www.npmjs.com/package/react-native-toast-message" rel="nofollow noreferrer">react-native-toast-message</a></p>