componentFactory->createDropDownHeader()->setLabel('Label'); * $dropDownButton->addItem($item); * ``` */ class DropDownHeader implements DropDownItemInterface { protected ?string $label = null; public function getLabel(): ?string { return $this->label; } public function setLabel(?string $label): static { $this->label = $label; return $this; } public function getType(): string { return static::class; } public function isValid(): bool { return $this->getLabel() !== null && trim($this->getLabel()) !== ''; } public function render(): string { return '