react-native-toasty icon indicating copy to clipboard operation
react-native-toasty copied to clipboard

Avoid passing 'icon' as null if 'withIcon' is set to true

Open eduhenke opened this issue 6 years ago • 1 comments

Reproducible by:

    RNToasty.Success({
      title: 'XXX',
      titleColor: "#46CC9F",
      tintColor: "#F1F9FF",
      icon: props => <AntDesign name='checkcircleo' {...props} style={props.style} />,
      withIcon: true
    });

If you remove the tintColor property, it works again

eduhenke avatar Apr 24 '19 16:04 eduhenke

+1

mohamedanwer123 avatar Sep 27 '21 14:09 mohamedanwer123