.... instead.
+ */
const CodeBlock = styled.div({
fontFamily: 'monospace',
});
diff --git a/desktop/app/src/ui/components/Radio.tsx b/desktop/app/src/ui/components/Radio.tsx
index 3823b1ed9..4d9b65fa1 100644
--- a/desktop/app/src/ui/components/Radio.tsx
+++ b/desktop/app/src/ui/components/Radio.tsx
@@ -28,6 +28,7 @@ RadioboxContainer.displayName = 'Radiobox:RadioboxContainer';
/**
* A radio button to toggle UI state
+ * @deprecated use Radio from 'antd'
*/
export default class Radio extends PureComponent {
onChange = (e: React.ChangeEvent) => {
diff --git a/desktop/app/src/ui/components/Scrollable.tsx b/desktop/app/src/ui/components/Scrollable.tsx
index e360412e7..981326b3f 100644
--- a/desktop/app/src/ui/components/Scrollable.tsx
+++ b/desktop/app/src/ui/components/Scrollable.tsx
@@ -13,6 +13,9 @@ import {Property} from 'csstype';
type Props = {children: React.ReactNode; background?: Property.Background};
+/**
+ * @deprecated use Layout.ScrollContainer from 'flipper-plugin'
+ */
const Scrollable = styled.div(({background}) => ({
width: '100%',
height: '100%',
diff --git a/desktop/app/src/ui/components/Tab.tsx b/desktop/app/src/ui/components/Tab.tsx
index 57b3bf0dd..942845aac 100644
--- a/desktop/app/src/ui/components/Tab.tsx
+++ b/desktop/app/src/ui/components/Tab.tsx
@@ -40,6 +40,9 @@ export type Props = {
width?: Property.Width;
};
+/**
+ * @deprecated use Tab from flipper-plugin
+ */
export default function Tab(_props: Props): JSX.Element {
throw new Error("don't render me");
}
diff --git a/desktop/app/src/ui/components/Tabs.tsx b/desktop/app/src/ui/components/Tabs.tsx
index 16d1838e9..0856e9d41 100644
--- a/desktop/app/src/ui/components/Tabs.tsx
+++ b/desktop/app/src/ui/components/Tabs.tsx
@@ -111,6 +111,7 @@ TabContent.displayName = 'Tabs:TabContent';
/**
* A Tabs component.
+ * @deprecated use Tabs from flipper-plugin
*/
export default function Tabs(props: {
/**
diff --git a/desktop/app/src/ui/components/Tooltip.tsx b/desktop/app/src/ui/components/Tooltip.tsx
index bcc6fccfd..f87bb4468 100644
--- a/desktop/app/src/ui/components/Tooltip.tsx
+++ b/desktop/app/src/ui/components/Tooltip.tsx
@@ -24,6 +24,9 @@ type TooltipProps = {
options?: TooltipOptions;
};
+/**
+ * @deprecated use Tooltip from 'tantd'
+ */
export default function Tooltip(props: TooltipProps) {
const tooltipManager = useContext(TooltipContext);
const ref = useRef();
diff --git a/desktop/app/src/ui/components/colors.tsx b/desktop/app/src/ui/components/colors.tsx
index d442cf2f7..65e2c3106 100644
--- a/desktop/app/src/ui/components/colors.tsx
+++ b/desktop/app/src/ui/components/colors.tsx
@@ -11,6 +11,9 @@ import {theme} from 'flipper-plugin';
// Last updated: Jan 30 2016
+/**
+ * @deprecated use `theme` from 'flipper-plugin' instead, which exposes semantic colors that respect dark/light mode.
+ */
export const colors = {
// FIG UI Core
blue: '#4267b2', // Blue - Active-state nav glyphs, nav bars, links, buttons