Filament Wizard with jetstream components.

I can't use jetstream button component in my filament wizard. Undefined variable $attributes.
Wizard::make([
    // ...
])->submitAction(view('components.button'))

// button.blade.php
// jetstream default button
<button {{ $attributes->merge(['type' => 'submit', 'class' => 'primary-btn']) }}>
    {{ $slot }}
</button>
Was this page helpful?