public function activeAttr(string $className = ''): string
    {
        if (! $className) {
            $className = config('menus.active_class_name');
        }

        return $this->isActive() ? 'class="' . $className . '"' : '';
    }