<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\IconList;

use AuxCF\Entities\Field\Enum\RepeaterFieldLayoutEnum;
use AuxCF\Entities\Field\RepeaterFieldEntity;

class IconListFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'icon_list';
  protected string $label = 'Icon List';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Row;
  protected int $min = 1;
  protected string $buttonLabel = 'Add Icon List Item';

  protected array $initFields = [
    IconListIconFieldEntity::class,
    IconListItemTextFieldEntity::class,
    IconListDescriptionSwitchFieldEntity::class,
    IconListDescriptionFieldEntity::class,
  ];

}
