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

Function formatOptions

component/DropDown.js:173–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 },
172
173 formatOptions(){
174 let {className, style} = this.props;
175 className = klassName('dropdown', className);
176 if (this.state.open) {
177 className += ' _active';
178 }
179
180 const {optionNodes, displayLabels} = this.getNodesAndLabel();
181
182 return (
183 <div className={className} style={style}>
184 {this.formatLabelNode(displayLabels)}
185 <ul className="_list">
186 {optionNodes}
187 </ul>
188 </div>
189 );
190 },
191
192 getFilterStatus(text, ...fields){
193 let status = false;

Callers

nothing calls this directly

Calls 1

klassNameFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…