MCPcopy Create free account
hub / github.com/shoutem/ui / constructor

Method constructor

components/DropDownMenu/DropDownModal.js:20–26  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

18 static DEFAULT_VISIBLE_OPTIONS = 8;
19
20 constructor(props) {
21 super(props);
22
23 autoBindReact(this);
24
25 this.state = { optionHeight: 0 };
26 }
27
28 onOptionLayout(event) {
29 const { height } = event.nativeEvent.layout;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected