Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
feat(tooltip): make title from string to ReactNode to accept custom t…
Browse files Browse the repository at this point in the history
…itle (#10424)
  • Loading branch information
kattsushi authored Jun 21, 2024
1 parent a0748aa commit 729bc9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/primitives/tailwind/Tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ All portions of the code written by the Ethereal Engine team are Copyright © 20
Ethereal Engine. All Rights Reserved.
*/

import React from 'react'
import React, { ReactNode } from 'react'
import { twMerge } from 'tailwind-merge'

interface TooltipProps {
title: string
title: ReactNode
direction?: 'top' | 'bottom' | 'left' | 'right'
children: React.ReactElement
className?: string
Expand Down

0 comments on commit 729bc9d

Please sign in to comment.