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

Method displayChange

demo/example/MenuDemo.jsx:11–15  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

9 };
10 }
11 displayChange(index){
12 this.setState({
13 index: index
14 });
15 }
16
17 formatChild({current, accordion=false, onChange, style, popped=false, mode='click', horizontal=false, activeFirst=false}) {
18 return <Menu current={current} accordion={accordion} onChange={onChange} horizontal={horizontal} style={style} popped={popped} mode={mode}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected