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 });


Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.00
1.0.30
1.0.20
1.0.10

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