1.0.3 • Published 7 years ago

react-native-app-toast v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

react-native-app-toast

A react native module to show toast on iOS and Android.

Useage

Installation

$ npm install --save react-native-app-toast

Import

Import this module into your js file.

import Toast from 'react-native-app-toast';

Use

Add this module into the render function of your component. Don't forget set its ref props as toast or other word you like.

render() {
    return(
        <View>
            <Toast ref="toast" />
        </View>
    );
}

Show

Congratulations! You can let the toast show like this:

this.refs.toast.show('your message', 3000);
1.0.3

7 years ago

1.0.21

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago