MCPcopy Create free account
hub / github.com/AaronCCWong/react-card-flip / constructor

Method constructor

example/VerticalExample.tsx:7–13  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

5
6class VerticalExample extends Component<any, any> {
7 constructor(props) {
8 super(props);
9 this.state = {
10 isFlipped: false
11 };
12 this.handleClick = this.handleClick.bind(this);
13 }
14
15 handleClick(event) {
16 event.preventDefault();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected