From 5d404a3bb8b81ab803b98524897b00ff61d809ae Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Tue, 25 Feb 2025 15:51:49 +0200 Subject: [PATCH] chore(ui): updates to InlineTip's TSDocs (#11580) --- .../ui/src/components/inline-tip/inline-tip.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/design-system/ui/src/components/inline-tip/inline-tip.tsx b/packages/design-system/ui/src/components/inline-tip/inline-tip.tsx index 46df9e0e2cab1..cbc41bda4761d 100644 --- a/packages/design-system/ui/src/components/inline-tip/inline-tip.tsx +++ b/packages/design-system/ui/src/components/inline-tip/inline-tip.tsx @@ -2,14 +2,7 @@ import { clx } from "@/utils/clx" import * as React from "react" interface InlineTipProps extends React.ComponentPropsWithoutRef<"div"> { - /** - * The label to display in the tip. - */ label: string - /** - * The variant of the tip. - * @default "info" - */ variant?: "info" | "warning" | "error" | "success" } @@ -19,7 +12,13 @@ interface InlineTipProps extends React.ComponentPropsWithoutRef<"div"> { export const InlineTip = React.forwardRef( ( { + /** + * The variant of the tip. + */ variant = "info", + /** + * The label to display in the tip. + */ label, className, children,