dev_forum
parent
ed45f8c198
commit
02651e5ce3
@ -0,0 +1,33 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Modal } from 'antd';
|
||||
// import Notcompleted from './Notcompleted';
|
||||
|
||||
export function SetAppModel(options = {}) {
|
||||
return function wrap(WrappedComponent) {
|
||||
return class Wrapper extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.state = {
|
||||
|
||||
}
|
||||
}
|
||||
componentDidMount(){
|
||||
console.log(this.props)
|
||||
}
|
||||
|
||||
render() {
|
||||
const { titlemessage, Modallisttype, Modallist, singleButton } = this.state;
|
||||
|
||||
return (
|
||||
<div>
|
||||
{/*<Notcompleted*/}
|
||||
{/*modalsType={this.state.Notcompleteds}*/}
|
||||
{/*/>*/}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue