Copy
Ask AI
{
"type": "object",
"properties": {
"type": {
"const": "Tooltip",
"default": "Tooltip",
"type": "string"
},
"cssClass": {
"type": [
"string",
"null"
],
"default": null,
"description": "CSS/Tailwind classes for styling"
},
"children": {
"type": "array",
"items": {
"$ref": "Component"
}
},
"content": {
"description": "Tooltip text",
"type": "string"
},
"side": {
"enum": [
"top",
"right",
"bottom",
"left"
],
"type": [
"string",
"null"
],
"default": null,
"description": "Which side to show the tooltip"
}
},
"required": [
"type",
"content"
]
}