|
|
|
@ -19,7 +19,7 @@ interface RemixUIGridCellProps { |
|
|
|
|
logos?: string[] |
|
|
|
|
logoURL?: string |
|
|
|
|
title: string |
|
|
|
|
titleTooltip: string |
|
|
|
|
titleTooltip?: string |
|
|
|
|
hideTitle?: boolean |
|
|
|
|
tagList?: string[] // max 8, others will be ignored
|
|
|
|
|
classList?: string |
|
|
|
@ -79,11 +79,12 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => { |
|
|
|
|
<div className={ `${pinned ? "" : "border-dark "}` + "d-flex mx-0 p-2 bg-light border border-secondary remixui_grid_cell_container " + props.classList || ''} data-id={"remixUIGS" + props.title}> |
|
|
|
|
<div className="d-flex remixui_grid_cell w-100 flex-column"> |
|
|
|
|
{ !props.hideTitle && <div className='d-flex flex-row pb-1 mb-1 align-items-end' style={{ minWidth: '8rem', height: '1rem' }}> |
|
|
|
|
{ props.logo && props.logoURL !== '' ? |
|
|
|
|
{ props.logo ? props.logoURL !== '' ? |
|
|
|
|
<a href={props.logoURL} target="__blank"> |
|
|
|
|
<img className='remixui_grid_view_logo mr-1' src={props.logo} style={{ width: '1rem', height: '1rem' }}/> |
|
|
|
|
</a> : |
|
|
|
|
<img className='remixui_grid_view_logo mr-1' src={props.logo} style={{ width: '1rem', height: '1rem' }}/> |
|
|
|
|
<img className='remixui_grid_view_logo mr-1' src={props.logo} style={{ width: '1rem', height: '1rem' }}/> : |
|
|
|
|
<></> |
|
|
|
|
} |
|
|
|
|
{ props.logos && props.logos.map((logo) => <img className='remixui_grid_view_logo mr-1' src={logo} style={{ width: '1rem', height: '1rem' }}/>)} |
|
|
|
|
{ props.title && |
|
|
|
|