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

Method getVisibleOptions

components/DropDownMenu/DropDownModal.js:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 getVisibleOptions() {
41 const {
42 visibleOptions,
43 style: { visibleOptions: styleVisibleOptions },
44 } = this.props;
45 const defaultOptions = DropDownModal.DEFAULT_VISIBLE_OPTIONS;
46
47 return visibleOptions || styleVisibleOptions || defaultOptions;
48 }
49
50 selectOption(option) {
51 const { selectedOption } = this.props;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected