MCPcopy Create free account
hub / github.com/ElemeFE/element-react / close

Method close

src/message-box/MessageBox.jsx:118–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 close(): void {
119 this.setState({
120 visible: false
121 });
122 }
123
124 render(): React.DOM {
125 const { willUnmount, title, showClose, message, showInput, inputPlaceholder, showCancelButton, cancelButtonClass, showConfirmButton, confirmButtonClass, customClass, inputType } = this.props;

Callers 1

handleActionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected