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"
2
2
import * as React from "react"
3
3
4
4
interface InlineTipProps extends React . ComponentPropsWithoutRef < "div" > {
5
- /**
6
- * The label to display in the tip.
7
- */
8
5
label : string
9
- /**
10
- * The variant of the tip.
11
- * @default "info"
12
- */
13
6
variant ?: "info" | "warning" | "error" | "success"
14
7
}
15
8
@@ -19,7 +12,13 @@ interface InlineTipProps extends React.ComponentPropsWithoutRef<"div"> {
19
12
export const InlineTip = React . forwardRef < HTMLDivElement , InlineTipProps > (
20
13
(
21
14
{
15
+ /**
16
+ * The variant of the tip.
17
+ */
22
18
variant = "info" ,
19
+ /**
20
+ * The label to display in the tip.
21
+ */
23
22
label,
24
23
className,
25
24
children,
You can’t perform that action at this time.
0 commit comments