| @@ -14,13 +14,19 @@ | ||
| 14 | 14 | className?: classnames.Argument |
| 15 | 15 | label?: string |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | -export const Tooltip: React.FC<TooltipProps> = ({ block, inline, start, end, icon, className, children, label }) => { | |
| 18 | +export const Tooltip: React.FC<TooltipProps> = ({ | |
| 19 | + block, inline, start, end, | |
| 20 | + icon, | |
| 21 | + className, | |
| 22 | + children, | |
| 23 | + label | |
| 24 | +}) => { | |
| 19 | 25 | const tooltipId = useId() |
| 20 | 26 | return ( |
| 21 | 27 | <div className={classnames( |
| 22 | - 'tooltip', | |
| 28 | + 'tooltip help-tooltip', | |
| 23 | 29 | { 'tooltip-block': block, 'tooltip-inline': inline, 'tooltip-start': start, 'tooltip-end': end }, |
| 24 | 30 | className |
| 25 | 31 | )}> |
| 26 | 32 | <button |