Remove Value/renderValue public API from "flipper"

Summary:
Moving Value/renderValue API to "database" plugin as these APIs used exclusively by this plugin.

Alternative to that could be moving this API to "flipper-plugin" instead, but I think it doesn't make sense to expose public API which is only used in one plugin.

Reviewed By: mweststrate

Differential Revision: D28110483

fbshipit-source-id: 1576444681c1e0531fe45f0c15f442d65a28f803
This commit is contained in:
Anton Nikolaev
2021-04-30 09:36:51 -07:00
committed by Facebook GitHub Bot
parent 23102b1997
commit 368dd4a5ab
11 changed files with 18 additions and 24 deletions

View File

@@ -13,14 +13,17 @@ import {
DetailSidebar,
Panel,
ManagedDataInspector,
Value,
valueToNullableString,
renderValue,
styled,
produce,
colors,
} from 'flipper';
import {
Value,
valueToNullableString,
renderValue,
} from './TypeBasedValueRenderer';
import {Button} from 'antd';
type TableRow = {