diff --git a/src/components/Tooltip/Tooltip.tsx b/src/components/Tooltip/Tooltip.tsx index db24f041..6e45e4db 100644 --- a/src/components/Tooltip/Tooltip.tsx +++ b/src/components/Tooltip/Tooltip.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren } from "react"; +import React, { PropsWithChildren, ReactNode } from "react"; import { Root, Trigger, @@ -31,7 +31,7 @@ type TooltipProps = { /** * The tooltip label */ - label: string; + label: ReactNode; /** * The associated keyboard shortcut */