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:
committed by
Facebook GitHub Bot
parent
01dc22b1ab
commit
caaded026b
@@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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 <></>;
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user