From 1d796b6e3439f199ab9f4971f6bdde45b7dad976 Mon Sep 17 00:00:00 2001 From: Myrto Kontouli Date: Tue, 25 Jul 2023 20:04:09 +0100 Subject: [PATCH] chore: mark Stack as being deprecated --- lib/src/components/stack/Stack.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/components/stack/Stack.tsx b/lib/src/components/stack/Stack.tsx index c8cb21d7d..ffe4cc47c 100644 --- a/lib/src/components/stack/Stack.tsx +++ b/lib/src/components/stack/Stack.tsx @@ -63,6 +63,9 @@ type StackPropsType = React.ComponentProps & { as?: any } // (!) `css` and `as` are both props that come from `stitches`. It would be better to figure out and export the appropriate type for them in stitches! +/** + * @deprecated Stack is being deprecated. Use Flex instead! + */ export const Stack: React.ForwardRefExoticComponent = React.forwardRef( (