|
|
|
@ -17,6 +17,7 @@ interface RemixUIGridCellProps { |
|
|
|
|
pinStateCallback?: any |
|
|
|
|
logo?: string |
|
|
|
|
logos?: string[] |
|
|
|
|
logoURL?: string |
|
|
|
|
title: string |
|
|
|
|
hideTitle?: boolean |
|
|
|
|
tagList?: string[] // max 8, others will be ignored
|
|
|
|
@ -77,7 +78,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 && <img className='remixui_grid_view_logo mr-1' src={props.logo} style={{ width: '1rem', height: '1rem' }}/> } |
|
|
|
|
{ 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' }}/> |
|
|
|
|
} |
|
|
|
|
{ props.logos && props.logos.map((logo) => <img className='remixui_grid_view_logo mr-1' src={logo} style={{ width: '1rem', height: '1rem' }}/>)} |
|
|
|
|
{ props.title && |
|
|
|
|
<CustomTooltip |
|
|
|
|