<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SocialBanner;

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

class SocialBannerLinkListFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'social_banner_links';
  protected string $label = 'Social Links';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Row;
  protected int $min = 1;
  protected ?int $max = 8;
  protected string $buttonLabel = 'Add Link List Item';

  protected array $initFields = [
    SocialBannerPlatformFieldEntity::class,
    SocialBannerLinksHandleFieldEntity::class,
    SocialBannerLinksLinkFieldEntity::class,
  ];

}
