Bless "Layout" and "theme"

Summary: This blesses the `Layout` and `theme` components and exposes them from `flipper-plugin`, so that they can be used in (public) Sandy plugins. Also marked old abstractions as going to be deprecated.

Reviewed By: cekkaewnumchai

Differential Revision: D24503560

fbshipit-source-id: a8f384667b8f66e3b9f00771a123fe5c9d755eb3
This commit is contained in:
Michel Weststrate
2020-10-27 05:16:10 -07:00
committed by Facebook GitHub Bot
parent dfdc02fbc2
commit 9f3df3406d
33 changed files with 59 additions and 120 deletions

View File

@@ -8,7 +8,8 @@
*/
import React from 'react';
import {Layout, styled} from '../../ui';
import {Layout, theme} from 'flipper-plugin';
import {styled} from '../../ui';
import {Input, Typography, Button, Collapse} from 'antd';
import {
DownOutlined,
@@ -20,7 +21,6 @@ import {
} from '@ant-design/icons';
import {LeftSidebar, SidebarTitle} from '../LeftSidebar';
import {PluginNotification} from '../../reducers/notifications';
import {theme} from '../theme';
const {Title, Text, Paragraph} = Typography;