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,