Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

props

class Checkbox extends React.Component {
  constructor(props) {
    super(props);
    this.state = { isOn: true };
  }
  // ...
}
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #props
ADD COMMENT
Topic
Name
4+8 =