ObjectInfoCard
Installation
import { ObjectInfoCard } from 'uxp/components';Signature
const ObjectInfoCard: React.MemoExoticComponent<React.FunctionComponent<ObjectInfoCardProps>>Examples
<ObjectInfoCard
fields={[
{ label: 'Name', value: 'John Doe' },
{ label: 'Email', value: '[email protected]' }
]}
/><ObjectInfoCard
fields={[
{ label: 'Name', value: 'John Doe', icon: 'user' },
{ label: 'Email', value: '[email protected]', icon: 'envelope', renderValue: (value) => <a href={`mailto:${value}`}>{value}</a> },
{ label: 'Status', value: 'Active' }
]}
columns={3}
className="custom-info-card"
/>Properties
Name
Type
Mandatory
Default Value
Example Value
Related Types
Last updated