<?php

namespace AutoAdmin\Bundle\Admin\Form\Type\Component;

use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;

class RichText extends AbstractHelperType
{
    public function buildView(FormView $view, FormInterface $form, array $options): void
    {
        $this->addViewClass($view, 'aa-ft-text-rich');
    }

    public function getParent(): string
    {
        return TextareaType::class;
    }
}
