File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
packages/design-system/ui/src/components/inline-tip Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,7 @@ import { clx } from "@/utils/clx"
22import * as React from "react"
33
44interface InlineTipProps extends React . ComponentPropsWithoutRef < "div" > {
5- /**
6- * The label to display in the tip.
7- */
85 label : string
9- /**
10- * The variant of the tip.
11- * @default "info"
12- */
136 variant ?: "info" | "warning" | "error" | "success"
147}
158
@@ -19,7 +12,13 @@ interface InlineTipProps extends React.ComponentPropsWithoutRef<"div"> {
1912export const InlineTip = React . forwardRef < HTMLDivElement , InlineTipProps > (
2013 (
2114 {
15+ /**
16+ * The variant of the tip.
17+ */
2218 variant = "info" ,
19+ /**
20+ * The label to display in the tip.
21+ */
2322 label,
2423 className,
2524 children,
You can’t perform that action at this time.
0 commit comments