Skip to content

Commit 5d404a3

Browse files
authored
chore(ui): updates to InlineTip's TSDocs (#11580)
1 parent 731f118 commit 5d404a3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

packages/design-system/ui/src/components/inline-tip/inline-tip.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@ import { clx } from "@/utils/clx"
22
import * as React from "react"
33

44
interface 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"> {
1912
export 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,

0 commit comments

Comments
 (0)