Custom Tab component

Hi, is there a way to extends Tab class and make custom form component, am tried like next

use Filament\Forms\Components\Tabs\Tab;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Filament\Forms\Form;

class HasTab extends Tab implements HasForms
{
    use InteractsWithForms;


    protected string $view = 'app-settings::filament.tabs.default';


    public static function make(string $label = null): static
    {
        return parent::make((new static(''))->getLabel());
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([]);
    }
}

in blade when i tried
{{$this->form}}

it hanging up the browser
Was this page helpful?