Tooltip
Example
Props
prop | type | description |
---|---|---|
text | string | required. tooltip text |
children | React.ReactNode | required. tootlip to attach on |
yPosition | top|bottom|center | tooltip position on y axis |
xPosition | left|right|center | tooltip position on x axis |
className | string | className of the Tooltip component |
contentClassName | string | className of the Text component container |
textClassName | string | className of the Text Component |