Modal component
Closed this issue · 1 comments
forxer commented
Develop a "Modal" component.
Something stylish:
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal-example">
Open modal
</button>
<x-modal id="modal-example" title="Modal title">
{{ $slot }}
<x-slot name="footer">
<button type="button" class="btn btn-primary">Save</button>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Dismiss</button>
</x-slot>
</x-modal>
forxer commented
in 0.6