Add entire node to raw data
Reviewed By: lblasa Differential Revision: D41612115 fbshipit-source-id: a89dc1b3c994435afa9b85f6681df73f637c3f3f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
989797a225
commit
edf7dd1b8f
@@ -282,7 +282,12 @@ export const AttributesInspector: React.FC<Props> = ({
|
|||||||
{...sections}
|
{...sections}
|
||||||
{rawEnabled && (
|
{rawEnabled && (
|
||||||
<Panel key="Raw" title="Raw Data" collapsed>
|
<Panel key="Raw" title="Raw Data" collapsed>
|
||||||
<DataInspector data={transform(node.attributes, metadata)} />
|
<DataInspector
|
||||||
|
data={{
|
||||||
|
...node,
|
||||||
|
attributes: transform(node.attributes, metadata),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</Panel>
|
</Panel>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user