@aligov/components-balloon-confirm
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
本 Demo 演示一行文字的用法。
import React, { Component } from "react";
import ReactDOM from "react-dom";
import Bconfirm from "@aligov/components-balloon-confirm";
const func = async () => console.log(123);
const reject = async () => false;
class App extends Component {
render() {
return <Bconfirm
title="hello" icon="success" content="1234" onOk={func} onCancel={reject} >1122334</Bconfirm>;
}
}
ReactDOM.render(<App />, mountNode);