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

Function getDefaultProps

component/Carousel.js:28–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 },
27
28 getDefaultProps() {
29 return {
30 showArrow: false,
31 showDot: true,
32 autoPlay: false,
33 delay: 3000,
34 prev: <span>prev</span>,
35 next: <span>next</span>,
36 };
37 },
38
39 componentDidMount() {
40 const base = ReactDOM.findDOMNode(this);

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…