PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
← All changes | js/components/common/Tooltip.tsx +8 -2 4.0.0-beta.1 → trunk View file →
@@ -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