<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\ButtonSlab;

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

class ButtonsFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'button';
  protected string $label = 'Buttons';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;
  protected int $min = 1;
  protected ?int $max = 5;
  protected string $buttonLabel = 'Add Button';
  protected string $instructions = 'Select link destination and link text for each button.';

  protected array $initFields = [
    ButtonLinkFieldEntity::class,
  ];
}
