File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
resources/views/forms/components Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,14 @@ GazeBanner::make()
138138#### Description
139139` hideOnCreate ` is a helper function that can be used to hide the banner on create forms.
140140
141+ ## Customization
142+
143+ ### Change icons
144+
145+ To [ customize the icons] ( https://filamentphp.com/docs/3.x/support/icons#replacing-the-default-icons ) in the banner, you may use the following aliases:
146+
147+ - ` filament-gaze::banner.locked ` for the lock icon
148+ - ` filament-gaze::banner.view ` for the eye icon
141149
142150## Author
143151
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ class="gaze-banner @if($show) gaze-banner--has-content @endif"
99 <div class =" flex flex-col justify-center" >
1010 @if ($isLockable && ! $hasControl )
1111 <x-filament::icon
12- alias =" panels:: filament-gaze. banner.icon "
12+ alias =" filament-gaze:: banner.locked "
1313 icon =" heroicon-m-lock-closed"
1414 class =" h-5 w-5 my-auto"
1515 />
1616 @else
1717 <x-filament::icon
18- alias =" panels:: filament-gaze. banner.icon "
18+ alias =" filament-gaze:: banner.view "
1919 icon =" heroicon-m-eye"
2020 class =" h-5 w-5 my-auto"
2121 />
You can’t perform that action at this time.
0 commit comments