Skip to content

Commit

Permalink
Update 02-modal.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin authored Aug 8, 2024
1 parent 2520688 commit 42ad8d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/support/docs/09-blade-components/02-modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,14 @@ By default, when you press escape on a modal, it will close itself. If you wish

## Hiding the modal close button

By default, modals with a heading have a close button in the top right corner. You can remove the close button from the modal by using the `close-button` attribute:
By default, modals with a header have a close button in the top right corner. You can remove the close button from the modal by using the `close-button` attribute:

```blade
<x-filament::modal :close-button="false">
<x-slot name="heading">
Modal heading
</x-slot>
{{-- Modal content --}}
</x-filament::modal>
```
Expand Down

0 comments on commit 42ad8d2

Please sign in to comment.