Skip to content

Commit

Permalink
chore: mark Stack as being deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
LimeWub committed Jul 25, 2023
1 parent eb4a049 commit 1d796b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/components/stack/Stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ type StackPropsType = React.ComponentProps<typeof StyledStack> & {
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<StackPropsType> =
React.forwardRef(
(
Expand Down

0 comments on commit 1d796b6

Please sign in to comment.