merge() ->class(['justify-center text-center items-center inline-flex space-x-2 rounded-md border shadow-sm px-4 py-2 text-sm font-medium focus:ring focus:ring-opacity-50' => $isTailwind && $attributes['default-styling'] ?? true]) ->class(['focus:border-indigo-300 focus:ring-indigo-200' => $isTailwind && $attributes['default-colors'] ?? true]) ->class(['btn btn-sm btn-success' => $isBootstrap && $attributes['default-styling'] ?? true]) ->class(['' => $isBootstrap && $attributes['default-colors'] ?? true]) ->except(['default','default-styling','default-colors']) }} @if($action->hasWireAction()) {{ $action->getWireAction() }}="{{ $action->getWireActionParams() }}" @endif @if($action->getWireNavigateEnabled()) wire:navigate @endif > @if($action->hasIcon() && $action->getIconRight()) getLabelAttributesBag() }}>{{ $action->getLabel() }} getIconAttributes() ->class(['ms-1 '. $action->getIcon() => $isBootstrap]) ->class(['ml-1 '. $action->getIcon() => $isTailwind]) ->except(['default','default-styling','default-colors']) }} > @elseif($action->hasIcon() && !$action->getIconRight()) getIconAttributes() ->class(['ms-1 '. $action->getIcon() => $isBootstrap]) ->class(['mr-1 '. $action->getIcon() => $isTailwind]) ->except(['default','default-styling','default-colors']) }} > getLabelAttributesBag() }}>{{ $action->getLabel() }} @else getLabelAttributesBag() }}>{{ $action->getLabel() }} @endif