react-native-root-toast-ct

2.0.0 • Public • Published

fork react-native-root-toast https://github.com/magicismight/react-native-root-toast

custom message text =>react component


Features

  1. message support text and react component

Install

npm install react-native-root-toast-ct

Settings

Toast.show("hello world", { position: Toast.positions.CENTER });

or 

const msg = (
  <View><Text style={{ color: "red" }}>
    hello
      </Text>
    <Text style={{ color: "#ffffff" }}>
      world
      </Text>
  </View>
);

Toast.show(msg, { position: Toast.positions.CENTER });


Package Sidebar

Install

npm i react-native-root-toast-ct

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

12.5 kB

Total Files

9

Last publish

Collaborators

  • angrycans