You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mark-as-reviewed.blade.php 607B

1234567891011121314151617181920212223
  1. @php
  2. $isDisabled = $action->isDisabled();
  3. @endphp
  4. <span
  5. x-data="{}"
  6. x-tooltip="{
  7. content: @js($action->getTooltip()),
  8. theme: $store.theme === 'dark' ? 'light' : 'dark',
  9. placement: 'left',
  10. }"
  11. >
  12. <x-filament::icon-button
  13. @class([
  14. 'disabled:cursor-not-allowed disabled:pointer-events-auto disabled:hover:text-gray-400',
  15. ])
  16. :icon="$action->getIcon()"
  17. :color="$action->getColor()"
  18. :disabled="$isDisabled"
  19. :size="$action->getIconSize()"
  20. :wire:click="$action->getLivewireClickHandler()"
  21. />
  22. </span>