<?php

class MBSeparatorText extends MBComponentBase
{
  protected function init_options($options)
  {
    $options->enabled = true;
    $options->id = "inoby-separator-text";
    $options->title = __("Separator Text", "inoby");
    $options->icon = "editor-bold";
    $options->render_template = get_theme_file_path("components/separator-text/template.php");
    $options->fields = [
      [
        'id'       => 'separator-text',
        'title'    => __('Text', 'inoby'),
        'placeholder'   => __('Vložte text', 'inoby'),
        'type'     => 'text',
        'sanitize_callback' => 'none',
        'rows' => '10',
      ],
    ];
  }
}