Added bgs on android ID + cleanup
Summary: Paddings and alignments were improved also changelog: UIDebugger - Added ability to big grep search based on android ID if available Reviewed By: lblasa Differential Revision: D43159228 fbshipit-source-id: e2d7190ea2411e936ba065328bcc375c64619e8f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
96bed18df2
commit
25149cc8c9
@@ -40,17 +40,12 @@ export const IdentityInspector: React.FC<Props> = ({node}) => {
|
|||||||
<IdentityValue title={node.name}>{node.name}</IdentityValue>
|
<IdentityValue title={node.name}>{node.name}</IdentityValue>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Row gutter={4}>
|
|
||||||
<Col span="10">
|
<CodeInspector
|
||||||
<IdentityKey>Qualified name:</IdentityKey>
|
name={node.qualifiedName}
|
||||||
</Col>
|
tags={node.tags}
|
||||||
<Col span="14">
|
androidId={node.inlineAttributes['id']}
|
||||||
<IdentityValue title={node.qualifiedName}>
|
/>
|
||||||
{node.qualifiedName}
|
|
||||||
</IdentityValue>
|
|
||||||
</Col>
|
|
||||||
</Row>
|
|
||||||
<CodeInspector name={node.qualifiedName} tags={node.tags} />
|
|
||||||
</IdentityContainer>
|
</IdentityContainer>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,12 +26,16 @@ export const InspectorStyle = {
|
|||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const RowStyle = {
|
export const BottomBorder = {
|
||||||
marginTop: 4,
|
|
||||||
marginBottom: 4,
|
|
||||||
borderStyle: 'solid',
|
borderStyle: 'solid',
|
||||||
borderColor: theme.dividerColor,
|
borderColor: theme.dividerColor,
|
||||||
borderWidth: '0 0 1px 0',
|
borderWidth: '0 0 1px 0',
|
||||||
|
};
|
||||||
|
|
||||||
|
export const RowStyle = {
|
||||||
|
...BottomBorder,
|
||||||
|
marginTop: 4,
|
||||||
|
marginBottom: 4,
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const ObjectContainerStyle = {
|
export const ObjectContainerStyle = {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import {Tag} from '../../../../types';
|
|||||||
type CodeInspectorProps = {
|
type CodeInspectorProps = {
|
||||||
tags: Tag[];
|
tags: Tag[];
|
||||||
name: string;
|
name: string;
|
||||||
|
androidId?: string;
|
||||||
};
|
};
|
||||||
export const CodeInspector: React.FC<CodeInspectorProps> = () => {
|
export const CodeInspector: React.FC<CodeInspectorProps> = () => {
|
||||||
return <></>;
|
return <></>;
|
||||||
|
|||||||
Reference in New Issue
Block a user