📜  react toastify 没有设计 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:43.780000             🧑  作者: Mango

代码示例1
import React, { Component } from 'react';
  import { ToastContainer, toast } from 'react-toastify';
  import 'react-toastify/dist/ReactToastify.css';
  // minified version is also included
  // import 'react-toastify/dist/ReactToastify.min.css';

  class App extends Component {
    notify = () => toast("Wow so easy !");

    render(){
      return (
        
); } }