Add types test for HeaderAction

This commit is contained in:
Eric Liu 2025-03-08 11:19:52 -08:00
commit 53a106bc41
4 changed files with 20 additions and 18 deletions

View file

@ -5870,7 +5870,7 @@
{
"name": "text",
"kind": "let",
"description": "Specify the text.\nAlternatively, use the named slot \"text\" (e.g., `<div slot=\"text\">...</div>`)",
"description": "Specify the text displayed next to the icon.\nAlternatively, use the named slot \"text\" (e.g., `<div slot=\"text\">...</div>`)",
"type": "string",
"isFunction": false,
"isFunctionDeclaration": false,
@ -5881,7 +5881,7 @@
{
"name": "iconDescription",
"kind": "let",
"description": "Specify an icon tooltip.\nThis only works if `text` or a named slot \"text\" is not provided.",
"description": "Specify an icon tooltip. The tooltip will not be displayed\nif either the `text` prop or a named slot=\"text\" is used",
"type": "string",
"isFunction": false,
"isFunctionDeclaration": false,
@ -5892,7 +5892,7 @@
{
"name": "tooltipAlignment",
"kind": "let",
"description": "Set the alignment of the tooltip relative to the icon.\nThis only works if `iconDescription` is provided.",
"description": "Set the alignment of the tooltip relative to the icon.\nOnly applies when `iconDescription` is provided",
"type": "\"start\" | \"center\" | \"end\"",
"value": "\"center\"",
"isFunction": false,