Skip to content

Commit 61a5d81

Browse files
authored
Update README.md
Add Plugin part on Readme
1 parent b7596c4 commit 61a5d81

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ composer require solution-forest/filament-simplelightbox
2424

2525
## Usage
2626

27+
```php
28+
public function panel(Panel $panel): Panel
29+
{
30+
return $panel
31+
// ...
32+
->plugin(SimpleLightBoxPlugin::make())
33+
}
34+
```
35+
2736
```php
2837
Tables\Columns\ImageColumn::make('image')
2938
->simpleLightbox()

0 commit comments

Comments
 (0)