Skip to content

Commit

Permalink
Update usage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Oct 19, 2024
1 parent d04155a commit bf2db97
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/getting-started/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ weight: 4

to use @zeus accordion in your forms:

@blade
<x-auto-screenshot name="accordion/accordion-form" alt="using accordion component in forms" />
@endblade

```php
\LaraZeus\Accordion\Forms\Accordions::make('Options')
->activeAccordion(2)
Expand All @@ -31,6 +35,10 @@ to use @zeus accordion in your forms:

to use @zeus accordion in your infolist:

@blade
<x-auto-screenshot name="accordion/accordion-infolist" alt="using accordion component in infolist" />
@endblade

```php
\LaraZeus\Accordion\Infolists\Accordions::make('Options')
->activeAccordion(2)
Expand Down

0 comments on commit bf2db97

Please sign in to comment.