Merge branch 'master' of https://bdgit.educoder.net/Hjqreturn/educoder
commit
46aa49919c
@ -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