问题描述
我正在尝试在 react/next.js 组件中使用 BootBox。
这是我的代码:
import React from 'react'
import { bootBox } from 'react-bootBox';
const DogPool = () => {
function removeDog() {
bootBox.alert("Hello World!",function() {
console.log("Alert Callback");
});
}
return(#whatever)
}
我尝试过:import bootBox from 'react-bootBox';
并且它也不起作用。我也试过需要。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)