Skip to content

angrycans/react-native-root-toast-ct

 
 

Repository files navigation

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


About

react native toast like component, msg text or msg component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%