Skip to content

Commit 4d8ec67

Browse files
committed
publish v1.1.0
1 parent 7dcdd3e commit 4d8ec67

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
import React, {Component} from 'react';
10-
import PropTypes from 'prop-types';
1110
import {
1211
StyleSheet,
1312
View,
@@ -30,7 +29,6 @@ export default class Toast extends Component {
3029

3130
constructor(props) {
3231
super(props);
33-
3432
this.state = {
3533
isShow: false,
3634
text: '',
@@ -40,7 +38,6 @@ export default class Toast extends Component {
4038

4139
show(text, duration, callback) {
4240
this.duration = typeof duration === 'number' ? duration : DURATION.LENGTH_SHORT;
43-
4441
this.callback = callback;
4542
this.setState({
4643
isShow: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-easy-toast",
3-
"version": "1.0.9",
3+
"version": "1.1.0",
44
"description": "A react native module to show toast like android, it works on iOS and Android.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)