Skip to content

Commit

Permalink
Merge pull request #13864 from TbishopP/patch-1
Browse files Browse the repository at this point in the history
Docs Update - Modify the modal blade component page
  • Loading branch information
danharrin authored Aug 8, 2024
2 parents c50244a + 42ad8d2 commit a2180d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 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,10 +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 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 a2180d2

Please sign in to comment.