UI Conversion: Replaced all usages of FlexRow / FlexColumn to Layout

Summary: Replaced all usages of FlexRow / FlexColumn to new Layout component

Reviewed By: mweststrate

Differential Revision: D28055698

fbshipit-source-id: ad50762b068c897e5c4c182ac2d575d7e3a5f166
This commit is contained in:
Anton Nikolaev
2021-04-29 12:02:54 -07:00
committed by Facebook GitHub Bot
parent 00fb573ba2
commit 24ac075d76
2 changed files with 30 additions and 26 deletions

View File

@@ -8,13 +8,13 @@
*/
import {
FlexRow,
ManagedTable,
TableBodyRow,
TableBodyColumn,
Value,
renderValue,
} from 'flipper';
import {Layout} from 'flipper-plugin';
import React, {useMemo} from 'react';
import {Structure} from './index';
@@ -59,7 +59,7 @@ const DatabaseStructureManagedTable = React.memo(
[columns],
);
return (
<FlexRow grow={true}>
<Layout.Horizontal grow>
<ManagedTable
floating={false}
columnOrder={columnOrder}
@@ -68,7 +68,7 @@ const DatabaseStructureManagedTable = React.memo(
rows={renderRows}
horizontallyScrollable={true}
/>
</FlexRow>
</Layout.Horizontal>
);
},
);