<1 min read

IdentifierResult

IdentifierResult

This component renders an identifier result value and highlights its matching part with the query from the state. Receives as prop the @empathyco/x-types#Result data.

Props

Name Description Type Default
result (Required) The @empathyco/x-types#Result information. Result

Examples

This component renders an identifier result value and highlights its matching part with the query from the state. Receives as prop the result data.

Basic usage

<template>
  <IdentifierResult :result="result" />
</template>
<script setup>
import IdentifierResult from '@empathyco/x-components/js/x-modules/identifier-results/components/identifier-result.vue'
const result = {
  identifier: { value: 'ABC-123-XYZ' },
  // ...other result properties
}
</script>