@props([ 'item', ]) @php /** @var \Datlechin\FilamentMenuBuilder\Models\MenuItem $item */ $hasChildren = $item->children->isNotEmpty(); @endphp
  • {{ $this->reorderAction }} @if ($hasChildren) @endif @if (\Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin::get()->isIndentActionsEnabled()) {{ ($this->unindentAction)(['id' => $item->getKey()]) }} {{ ($this->indentAction)(['id' => $item->getKey()]) }} @endif
    {{ $item->title }}
    {{ ($this->editAction)(['id' => $item->getKey(), 'title' => $item->title]) }} {{ ($this->deleteAction)(['id' => $item->getKey(), 'title' => $item->title]) }}