README
react-native-auto-toast
- 선언
import Toast from 'react-native-auto-toast';
- 사용
<View>
<Toast ref="toast" backgroundColor="#000000" opacitys="0.5"/>
</View>
<TouchableOpacity onPress={() => {this.refs.toast.show('Confirm!');}}>
<Text>Confirm</Text>
</TouchableOpacity>