Move layout plugin sidebar extensions to the plugin package
Summary: Moved layout plugin sidebar extensions to the plugin package. Reviewed By: passy Differential Revision: D27036489 fbshipit-source-id: 5b3406e5c50ba61709d925a3c0cb07a6fd7552db
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e5261967cb
commit
b45b5f854a
@@ -14,7 +14,6 @@ import {
|
||||
styled,
|
||||
colors,
|
||||
PluginClient,
|
||||
SidebarExtensions,
|
||||
Element,
|
||||
Client,
|
||||
Logger,
|
||||
@@ -24,6 +23,7 @@ import deepEqual from 'deep-equal';
|
||||
import React from 'react';
|
||||
import {useMemo, useEffect} from 'react';
|
||||
import {kebabCase} from 'lodash';
|
||||
import {default as SidebarExtensions} from './extensions/fb-stubs/index';
|
||||
|
||||
const NoData = styled(FlexCenter)({
|
||||
fontSize: 18,
|
||||
|
||||
19
desktop/plugins/public/layout/extensions/fb-stubs/index.tsx
Normal file
19
desktop/plugins/public/layout/extensions/fb-stubs/index.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its 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 type {Client, Logger, PluginClient, Element} from 'flipper';
|
||||
|
||||
export default [] as Array<
|
||||
(
|
||||
client: PluginClient,
|
||||
realClient: Client,
|
||||
selectedNode: Element,
|
||||
logger: Logger,
|
||||
) => React.ReactNode
|
||||
>;
|
||||
@@ -11,11 +11,15 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"deep-equal": "^2.0.5",
|
||||
"lodash": "^4.17.21"
|
||||
"lodash": "^4.17.21",
|
||||
"prism-react-renderer": "^0.1.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/react": "^11.2.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"nt-shared": "*"
|
||||
},
|
||||
"title": "Layout",
|
||||
"icon": "target",
|
||||
"bugs": {
|
||||
|
||||
Reference in New Issue
Block a user