Action Card Match Call to Action
Description
The Action Card Match Call to Action component is a specialized element designed for opportunity matching interfaces. It provides a primary action button for connecting to an opportunity, along with secondary actions for saving or declining the opportunity. The component emits the following Livewire events: - connectToOpportunity - saveForLater - declineOpportunity
Parameters
Name | Type | Default | Description |
---|---|---|---|
opportunityMatch | mixed | The data representing the opportunity match. This is used in the Livewire event emissions. | |
attributes | array | [] | Additional HTML attributes to be applied to the component container. |
class | string | flex flex-col items-center gap-2 w-full | The base CSS classes applied to the component container. |
connectToOpportunity | event | This event is emitted when the user clicks the "Connect" button. | |
saveForLater | event | This event is emitted when the user clicks the "Save for later" button. | |
declineOpportunity | event | This event is emitted when the user clicks the "Decline" button. |
Example
<x-uxlibrary.cards.action-card-match-call-to-action opportunityMatch="opportunityMatch" />