@props([
    'group' => [
        'class' => null,
    ],
    'id' => null,
    'label' => null,
    'required' => '',
    'hint' => '',
])


@php
    $attributes = $attributes->class([
        'textarea',
    ])->merge([
        'rows' => '5',
    ]);
@endphp


<x-bs-form.group class="{{ $group['class'] }}">
    <x-bs-form.label :label=$label :for="$id" :hint=$hint />
    <textarea nicedit {{ $required }}  {{ $attributes }} {{ $id ? "id=$id" : "" }}>{{ $slot }}</textarea>
</x-bs-form.group>