|
|
@ -19,7 +19,7 @@ interface RemixUIGridCellProps { |
|
|
|
logos?: string[] |
|
|
|
logos?: string[] |
|
|
|
logoURL?: string |
|
|
|
logoURL?: string |
|
|
|
title: string |
|
|
|
title: string |
|
|
|
titleTooltip: 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 |
|
|
@ -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={ `${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"> |
|
|
|
<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.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"> |
|
|
|
<a href={props.logoURL} target="__blank"> |
|
|
|
<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' }}/> |
|
|
|
</a> : |
|
|
|
</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.logos && props.logos.map((logo) => <img className='remixui_grid_view_logo mr-1' src={logo} style={{ width: '1rem', height: '1rem' }}/>)} |
|
|
|
{ props.title && |
|
|
|
{ props.title && |
|
|
|