protected function createItem(array $component)
    {
        $classname = array_get($component, 'data.classname');


        if (!$this->dispatchable($classname)) {
            return;
        }
        $id   = $component['id'];
        $attr = array_get($component, 'data', []);

        $this->handler->add($id, '^:ui-components-selector')
                ->title($attr['name'])
                ->link(handles("antares/ui-components::ui-components/view/{$id}", ['csrf' => true]))
                ->icon('fa fa-plus-circle')
                ->attributes(array_only($attr, ['x', 'y', 'width', 'height', 'disabled']) + ['rel' => $id, 'classname' => $classname]);
    }