<?php
namespace Filament\Actions\Concerns;
use Closure;
trait CanBeOutlined
{
protected bool | Closure $isOutlined = false;
public function outlined(bool | Closure $condition = true): static
{
$this->isOutlined = $condition;
return $this;
}
public function isOutlined(): bool
{
return (bool) $this->evaluate($this->isOutlined);
}
}