public function render()
    {
        $variables = [
            'items' => $this->items,
            'title' => $this->title,
            'attributes' => $this->formatAttributes(),
        ];

        return view($this->view, $variables)->render();
    }