uuid = 'component'.md5(serialize($this)).$id; } /** * Get the view / contents that represent the component. */ public function render(): View|Closure|string { return <<<'BLADE'
@if($label) {{$label}} @if($hasAttribute('required')) * @endif @endif merge([ 'type' => 'text', 'class' => 'rounded-xl border border-gray-300 px-4 py-2' ]) }} />
BLADE; } }