xxx
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import React from "react";
|
||||
import ReactDom from "react-dom";
|
||||
import ReactDOM from 'react-dom';
|
||||
import Hehe from "./confirm.js";
|
||||
export default function (ops, btn) {
|
||||
let div = document.createElement("div");
|
||||
document.body.appendChild(div);
|
||||
let toastInt = ReactDom.render(<Hehe />, div);
|
||||
let toastInt = ReactDOM.render(<Hehe />, div);
|
||||
toastInt.setMessage(ops, btn, div);
|
||||
console.log(btn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user