diff --git a/.changeset/old-lizards-reply.md b/.changeset/old-lizards-reply.md new file mode 100644 index 0000000000000..5138638dd34ec --- /dev/null +++ b/.changeset/old-lizards-reply.md @@ -0,0 +1,5 @@ +--- +"@medusajs/ui": patch +--- + +chore(ui): explicitely specify the props type of InlineTip 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 9020994bb25f1..46df9e0e2cab1 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 @@ -17,7 +17,14 @@ interface InlineTipProps extends React.ComponentPropsWithoutRef<"div"> { * This component is based on the `div` element and supports all of its props. */ export const InlineTip = React.forwardRef( - ({ variant = "info", label, className, children, ...props }, ref) => { + ( + { + variant = "info", + label, + className, + children, + ...props + }: InlineTipProps, ref) => { return (