({ label, value, selected, children, disabled })
| 201 | }, |
| 202 | |
| 203 | formatOptionCell({ label, value, selected, children, disabled }){ |
| 204 | const content = children ? children : label; |
| 205 | let node = disabled ? |
| 206 | <DropDown.Option disabled={disabled} selected={selected}> |
| 207 | {content} |
| 208 | </DropDown.Option> |
| 209 | : <DropDown.Option disabled={disabled} selected={selected} onClick={() => this.handleChangeSelect(value)}> |
| 210 | {content} |
| 211 | </DropDown.Option> |
| 212 | return ( |
| 213 | <li key={value}> |
| 214 | {node} |
| 215 | </li> |
| 216 | ); |
| 217 | }, |
| 218 | |
| 219 | formatSearchBar(text){ |
| 220 | const {filterText} = this.state; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…