added tooltip for cell titles

pull/5304/head
lianahus 2 months ago committed by yann300
parent ba7d65eff6
commit 7db293c2b6
  1. 3
      libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx

@ -19,6 +19,7 @@ interface RemixUIGridCellProps {
logos?: string[] logos?: string[]
logoURL?: string logoURL?: string
title: string title: string
titleTooltip: string
hideTitle?: boolean hideTitle?: boolean
tagList?: string[] // max 8, others will be ignored tagList?: string[] // max 8, others will be ignored
classList?: string classList?: string
@ -89,7 +90,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
<CustomTooltip <CustomTooltip
placement="top" placement="top"
tooltipId={`overlay-tooltip-new${props.title}`} tooltipId={`overlay-tooltip-new${props.title}`}
tooltipText={ props.title } tooltipText={ props.titleTooltip ? props.titleTooltip : props.title }
> >
<label <label
className='m-0 p-0 text-uppercase align-items-left font-weight-bold text-truncate overflow-hidden whitespace-nowra' className='m-0 p-0 text-uppercase align-items-left font-weight-bold text-truncate overflow-hidden whitespace-nowra'

Loading…
Cancel
Save