Big Grep Search

Summary: Add Big Grep Search for Android elements.

Reviewed By: antonk52

Differential Revision: D40634183

fbshipit-source-id: faecfc8900211478655ddff6499ff797e3136f91
This commit is contained in:
Lorenzo Blasa
2022-11-10 11:52:28 -08:00
committed by Facebook GitHub Bot
parent 01dc22b1ab
commit caaded026b
2 changed files with 21 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import React from 'react';
import {Col, Row} from 'antd'; import {Col, Row} from 'antd';
import {UINode} from '../../../types'; import {UINode} from '../../../types';
import {styled} from 'flipper-plugin'; import {styled} from 'flipper-plugin';
import {CodeInspector} from './fb-stubs/CodeInspector';
type Props = { type Props = {
node: UINode; node: UINode;
@@ -35,6 +36,7 @@ export const IdentityInspector: React.FC<Props> = ({node}) => {
</Col> </Col>
<Col span="12">{node.id}</Col> <Col span="12">{node.id}</Col>
</Row> </Row>
<CodeInspector name={node.name} tags={node.tags} />
</IdentityContainer> </IdentityContainer>
); );
}; };

View File

@@ -0,0 +1,19 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import React from 'react';
import {Tag} from '../../../../types';
type CodeInspectorProps = {
tags: Tag[];
name: string;
};
export const CodeInspector: React.FC<CodeInspectorProps> = () => {
return <></>;
};