MCPcopy Create free account
hub / github.com/flyfloor/react-component / constructor

Method constructor

demo/example/ModalDemo.jsx:5–7  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3
4export default class ModalDemo extends React.Component {
5 constructor(props){
6 super(props);
7 }
8
9 handleConfirm(){
10 return confirm('close modal?');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected