Skip to content

Commit a4adfee

Browse files
authored
docs: tooltip arrow data-side (#1427)
1 parent 3dd1cb3 commit a4adfee

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/src/lib/content/api-reference/tooltip.api.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import {
1212
OpenChildSnippetProps,
1313
OpenChildrenSnippetProps,
1414
} from "./extended-types/shared/index.js";
15-
import { FloatingContentChildSnippetProps } from "./extended-types/floating/index.js";
15+
import {
16+
FloatingContentChildSnippetProps,
17+
FloatingSideProp,
18+
} from "./extended-types/floating/index.js";
1619
import {
1720
arrowProps,
1821
childrenSnippet,
@@ -220,6 +223,12 @@ export const arrow = createApiSchema<TooltipArrowPropsWithoutHTML>({
220223
name: "tooltip-arrow",
221224
description: "Present on the arrow element.",
222225
}),
226+
createDataAttrSchema({
227+
name: "side",
228+
description: "The side of the tooltip that the arrow is on.",
229+
definition: FloatingSideProp,
230+
isEnum: true,
231+
}),
223232
],
224233
});
225234

0 commit comments

Comments
 (0)