Plugin Info UI layout
Summary: Initial layout for Plugin Info view built based on Plugin Manager Flow mockups. Reviewed By: mweststrate Differential Revision: D29186006 fbshipit-source-id: 01fafbdba049baf2e573228ff5b939ebc4871db2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fd9b5cc94d
commit
1d26faeacb
@@ -54,7 +54,7 @@ import semver from 'semver';
|
|||||||
import {loadPlugin} from './reducers/pluginManager';
|
import {loadPlugin} from './reducers/pluginManager';
|
||||||
import {produce} from 'immer';
|
import {produce} from 'immer';
|
||||||
import {reportUsage} from './utils/metrics';
|
import {reportUsage} from './utils/metrics';
|
||||||
import PluginInfo from './chrome/PluginInfo';
|
import PluginInfo from './chrome/fb-stubs/PluginInfo';
|
||||||
|
|
||||||
const {Text, Link} = Typography;
|
const {Text, Link} = Typography;
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import React, {useCallback, useMemo} from 'react';
|
import React, {useCallback, useMemo} from 'react';
|
||||||
import {Label, ToggleButton, SmallText, styled, Layout} from '../ui';
|
import {Label, ToggleButton, SmallText, styled, Layout} from '../../ui';
|
||||||
import {useDispatch, useStore} from '../utils/useStore';
|
import {useDispatch, useStore} from '../../utils/useStore';
|
||||||
import {switchPlugin} from '../reducers/pluginManager';
|
import {switchPlugin} from '../../reducers/pluginManager';
|
||||||
import {isPluginEnabled} from '../reducers/connections';
|
import {isPluginEnabled} from '../../reducers/connections';
|
||||||
import {theme} from 'flipper-plugin';
|
import {theme} from 'flipper-plugin';
|
||||||
import {PluginDefinition} from '../plugin';
|
import {PluginDefinition} from '../../plugin';
|
||||||
|
|
||||||
const Waiting = styled(Layout.Container)({
|
const Waiting = styled(Layout.Container)({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
@@ -26,6 +26,6 @@
|
|||||||
"exclude": [
|
"exclude": [
|
||||||
"**/node_modules/",
|
"**/node_modules/",
|
||||||
"**/__tests__/",
|
"**/__tests__/",
|
||||||
"**/lib/",
|
"**/lib/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user