Skip to content

Instantly share code, notes, and snippets.

View Forison's full-sized avatar
🙂
ACTIVELY LOOKING FOR FULL-STACK DEVELOPMENT JOB

Addo Forison Forison

🙂
ACTIVELY LOOKING FOR FULL-STACK DEVELOPMENT JOB
  • Full-stack developer at TradeLink
  • GHANA
View GitHub Profile
- The constructor was spelt wrongly we have to change it to this to make avoid syntax error related to this.
```
constructor(props) {
super(props)
this.state = {
isOpen: false,
};
}
```
- Let us also validate our props-types whenever we use a prop like label.