From be8138d9a19dc24687d663975e98b32ec69b512a Mon Sep 17 00:00:00 2001 From: vojislavd Date: Fri, 9 Feb 2024 15:07:12 +0100 Subject: [PATCH] Update docs --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f315a7b..08b05df 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,11 @@ In blade file of the same Livewire component, you should add `` and Inside `` tags, you can add any content you want to be present in modal. ```blade - +

This is some title

This is some content

-
+ ``` The modal can be opened from the blade file, like this: @@ -118,34 +118,34 @@ The same goes for closing the modal, only the value of `openModal` will be set t For example, if you want to have a button to close the modal inside the modal itself, you can do it like this: ```blade - + ... Some content of modal - + ``` It's possible to configure the width of the modal by passing a Tailwind CSS class to `width` property of the component. For example: ```blade - + ... Some content of modal - + ``` You can add action buttons to the bottom of the modal like this: ```blade - + ... Some content of modal - + ``` ## Testing Run tests with: