adding Searchbar
Summary: Adding the searchbar to layout inspector. Most of it's functionality is taken from the existing implementation. Reviewed By: jknoxville Differential Revision: D14100533 fbshipit-source-id: 6c3a49658d53c676489886b2599bef425f8f20d3
This commit is contained in:
committed by
Facebook Github Bot
parent
649688db2a
commit
a8a1869bc8
@@ -5,7 +5,12 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import type {ElementID, Element, PluginClient} from 'flipper';
|
||||
import type {
|
||||
ElementID,
|
||||
Element,
|
||||
PluginClient,
|
||||
ElementSearchResultSet,
|
||||
} from 'flipper';
|
||||
import {ElementsInspector} from 'flipper';
|
||||
import {Component} from 'react';
|
||||
import debounce from 'lodash.debounce';
|
||||
@@ -29,6 +34,7 @@ type Props = {
|
||||
onDataValueChanged: (path: Array<string>, value: any) => void,
|
||||
setPersistedState: (state: $Shape<PersistedState>) => void,
|
||||
persistedState: PersistedState,
|
||||
searchResults: ?ElementSearchResultSet,
|
||||
};
|
||||
|
||||
export default class Inspector extends Component<Props> {
|
||||
|
||||
Reference in New Issue
Block a user