From 59ce5d23759120ca8199c59ae67675f0d139dfd3 Mon Sep 17 00:00:00 2001 From: Barsnes Date: Mon, 29 Apr 2024 10:32:16 +0200 Subject: [PATCH] feat(Paragraph): Remove deprectated `short` prop --- .../react/src/components/Typography/Paragraph/Paragraph.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/react/src/components/Typography/Paragraph/Paragraph.tsx b/packages/react/src/components/Typography/Paragraph/Paragraph.tsx index 639634563e..b154cd3009 100644 --- a/packages/react/src/components/Typography/Paragraph/Paragraph.tsx +++ b/packages/react/src/components/Typography/Paragraph/Paragraph.tsx @@ -12,10 +12,6 @@ export type ParagraphProps = { size?: 'xsmall' | 'small' | 'medium' | 'large'; /** Adds margin-bottom */ spacing?: boolean; - /** Reduces line-height for short paragraphs - * @deprecated Use `variant="short"` instead - */ - short?: boolean; /** Adjusts styling for paragraph length */ variant?: 'long' | 'short'; /** @@ -37,7 +33,6 @@ export const Paragraph: OverridableComponent< spacing, as = 'p', asChild, - short, variant, ...rest }, @@ -53,7 +48,6 @@ export const Paragraph: OverridableComponent< classes[size], { [classes.spacing]: !!spacing, - [classes.short]: short, }, variant && classes[variant], className,