Default
Function: default()
[object Object]
Defined in: app/components/Activity/ActivityDetailsTile/InfoItem.tsx:20
A presentational component used to display a labeled piece of information with an accompanying icon. Commonly used in grids to show activity metadata like dates, locations, or participant counts.
Parameters
props
The component props.
icon
[object Object]
A Lucide icon or any React element to be displayed in the left-hand slot.
label
[object Object]
The descriptive title of the information (rendered in small uppercase text).
value
[object Object]
The actual data or content to be displayed.
Returns
[object Object]
Component
Example
<InfoItem
icon={<MapPin size={18} />}
label="Location"
value="Utrecht, NL"
/>