MCPcopy Create free account
hub / github.com/flyfloor/react-component / getDefaultProps

Function getDefaultProps

component/Notice.js:14–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 },
13
14 getDefaultProps() {
15 return {
16 content: null,
17 delay: 5000,
18 closeIcon: <i>x</i>,
19 onClose(){return},
20 }
21 },
22
23 componentDidMount() {
24 const {delay, onClose} = this.props

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…