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

Method constructor

src/Modal.js:249–252  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

247
248class Modal extends Component {
249 constructor (props) {
250 super(props);
251 this.id = nextUid();
252 }
253
254 componentDidMount () {
255 if (this.props.isOpen) {

Callers

nothing calls this directly

Calls 1

nextUidFunction · 0.90

Tested by

no test coverage detected