1.1.3 • Published 7 years ago

react-simple-toast-msg v1.1.3

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

react-toast

Usage

import React, { Component } from 'react';
import Toast from 'react-simple-toast-msg';

class ShowToast extends Component {
  constructor() {
    super();
    this.showToast = this.showToast.bind(this);
  }

  showToast() {
    Toast('test 4 toast!');
  }

  render() {
    return (
      <div>
        <button onClick={this.showToast}>click to show toast</button>
      </div>
    );
  }
}

export default ShowToast;
1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago