how to trigger an action in a child component through the parent component in the React.
import {Modal} from "antd"
<Modal
  visible={this.state.componentModalVisible}
  title=""
  onOk={this.handleOk}
  onCancel={this.handleCancel}
  footer={[
    <Button key="back" onClick={this.handleCancel}></Button>,
    <Button key="submit" type="primary" onClick={this.handleOk}></Button>
  ]}>
  <Child /> // ``state
</Modal>