āSpeech Bubbleā Component
Overview
The component is used to display a userās photo with a speech bubble.
In most pf the cases, the text is the same, thatās why we have assistant
sub-component
with a predefined message.
Hello! This is a text from the default slot.
Usage
@component('components.speechBubble--member', ['speakingMember' => $member])
Hello! This is a text from the default slot.
@endcomponent
Props
-
speakingMember (required)App\Modules\Member\Models\Member
Member instance to use photo and contact info.
Slots
-
defaultstring (HTML)
Custom speech message to display in a bubble.