Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default class Toast extends Component {
show(text, duration, callback, onPress) {
this.duration = typeof duration === 'number' ? duration : DURATION.LENGTH_SHORT;
this.callback = callback;
console.log(typeof onPress)
if(typeof onPress === 'function')
this.onPress = onPress
this.setState({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-easy-toast",
"version": "2.0.0",
"version": "2.0.1",
"description": "A react native module to show toast like android, it works on iOS and Android.",
"main": "index.js",
"types": "index.d.ts",
Expand Down