code: public function renderAsBootstrapDropdownMenuItem(): string {
          if ($this->isAccessible()) {
              $button = Tag::a($this->makeIcon(true) . ' ' . $this->getTitle())
                  ->setHref('javascript: void(0)')
                  ->addCustomRenderedAttributeWithValue($this->makeConditionalDisabledAttribute())
                  ->setTitle($this->getTooltip())
                  ->setDataAttr('toggle', $this->hasTooltip() ? 'tooltip' : null)
                  ->setDataAttr('position', $this->hasTooltip() ? $this->getTooltipPosition() : null)
                  ->setDataAttr('action', $this->getActionType())
                  ->setDataAttr('url', $this->getUrl())
                  ->setDataAttr('method', $this->getHttpMethod())
                  ->setDataAttr('data', $this->makeRequestDataForHtmlAttribute())
                  ->setDataAttr('response-type', $this->getResponseDataType())
                  ->setDataAttr('confirm', $this->getConfirm())
                  ->setDataAttr('on-success', $this->getOnSuccess())
                  ->setDataAttr('block-datagrid', $this->isBlockDataGrid() ? '1' : null);
              return $this->wrapIntoShowCondition(
                  '<li ' . $this->makeConditionalDisabledAttribute() . '>'
                      . $this->modifyTagBeforeRendering($button)->build()
                  . '</li>'
              );
          } else {
              return '';
          }
      }
docs: Render menu item as <li><a>...</a></li>
  @param bool $allowTooltip
  @return string