MCPcopy Create free account
hub / github.com/Lobos/react-ui / constructor

Method constructor

docs/src/js/pages/rating.jsx:14–22  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

12
13module.exports = class extends Component {
14 constructor (props) {
15 super(props);
16 this.state = {
17 readOnly: false,
18 maxValue: 5,
19 value: 3,
20 theme: 'star'
21 };
22 }
23
24 render () {
25 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected