Skip to content

Commit

Permalink
updating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
devajmeireles committed Oct 16, 2023
1 parent d18cdb0 commit 3ac4e9c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/Enums/Examples/Ui/Dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class Dropdown
</x-dropdown>
HTML;

public const ICONS_STATIC = <<<'HTML'
<x-dropdown icon="ellipsis-vertical" static>
<x-dropdown.items text="Settings" />
<x-dropdown.items text="Logout" separator />
</x-dropdown>
HTML;

public const HEADER_SLOTS = <<<'HTML'
<x-dropdown text="Menu">
<x-slot:header>
Expand Down
13 changes: 13 additions & 0 deletions resources/views/documentation/ui/dropdown.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@
</div>
</x-preview>
</x-section>
<x-section>
<x-preview title="Icon Slot Static"
description="An option to use icons without rotate animation"
language="blade"
:contents="$iconsStatic">
<div class="flex justify-end md:justify-center">
<x-dropdown icon="ellipsis-vertical" static>
<x-dropdown.items text="Settings" />
<x-dropdown.items text="Logout" separator />
</x-dropdown>
</div>
</x-preview>
</x-section>
<x-section>
<x-preview title="Header Slot"
language="blade"
Expand Down

0 comments on commit 3ac4e9c

Please sign in to comment.