Skip to content

Commit

Permalink
Update group.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Mar 5, 2024
1 parent 75bd00b commit c230a7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/actions/resources/views/components/group.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
'dynamicComponent' => null,
'group' => null,
'icon' => null,
'iconPosition' => null,
'iconSize' => null,
'iconButton' => false,
'label' => null,
Expand All @@ -31,7 +30,6 @@
->dropdownPlacement($dropdownPlacement)
->dropdownWidth($dropdownWidth)
->icon($icon)
->iconPosition($iconPosition)
->iconSize($iconSize)
->label($label)
->size($size)
Expand All @@ -43,7 +41,10 @@
: $group->badge($badge);
if ($button) {
$group->button();
$group
->button()
->iconPosition($attributes->get('iconPosition') ?? $attributes->get('icon-position'))
->outlined($attributes->get('outlined') ?? false);
}
if ($iconButton) {
Expand Down Expand Up @@ -104,7 +105,6 @@
:color="$group->getColor()"
:component="$dynamicComponent"
:icon="$group->getIcon()"
:icon-position="$group->isIconButton() ? null : $group->getIconPosition()"
:icon-size="$group->getIconSize()"
:label-sr-only="$group->isLabelHidden()"
:size="$group->getSize()"
Expand Down

0 comments on commit c230a7c

Please # to comment.