Convert filament or livewire component into html string in controller

 $data = Action::make('edit')
        ->button()->render()->render();

         $title = static::$heading  ;
        return new HtmlString('
        <div class="flex justify-between">
            <div>'.  $data .'</div>
        </div>
        ');

Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *