QuanticResultLabel Component

The QuanticResultLabel component displays an SLDS icon and label for a result. If the Result option is set this component can infer default label and icon based on the result properties. Otherwise the label and icon properties are required.

Example

<c-quantic-result-label label="Account" icon="standard:account" size="medium" icon-only></c-quantic-result-label>

Properties

Property Attribute Description Type Default

result (required)

result

The result item to use to infer label and icon.

Result

label (required)

label

The label to display.

string

icon (required)

icon

The name of the SLDS icon to display.

string

size

size

Size of the icon and label to display.

'xx-small', 'x-small', 'small', 'medium', 'large'

'small'

iconOnly

icon-only

Whether to only display the icon without the label.

boolean

false

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

53.0

isExposed

false