<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['name', 'label', 'value' => null, 'rows' => 4, 'help' => null]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter((['name', 'label', 'value' => null, 'rows' => 4, 'help' => null]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>
<?php
    $segments = explode('.', $name);
    $htmlName = array_shift($segments);
    foreach ($segments as $segment) {
        $htmlName .= '['.$segment.']';
    }
?>
<label class="block">
    <span class="mb-1.5 block text-[11px] font-bold text-slate-700 dark:text-slate-200"><?php echo e($label); ?></span>
    <textarea name="<?php echo e($htmlName); ?>" rows="<?php echo e($rows); ?>" <?php echo e($attributes->merge(['class' => 'w-full resize-y rounded-xl border border-slate-300 bg-white px-3 py-2.5 text-xs leading-5 text-slate-900 outline-none transition placeholder:text-slate-400 focus:border-orange-500 focus:ring-2 focus:ring-orange-500/15 dark:border-slate-700 dark:bg-slate-900 dark:text-white'])); ?>><?php echo e(old($name, $value)); ?></textarea>
    <?php if($help): ?><span class="mt-1 block text-[10px] text-slate-400"><?php echo e($help); ?></span><?php endif; ?>
    <?php if($errors->has($name)): ?><span class="mt-1 block text-[10px] font-semibold text-rose-600"><?php echo e($errors->first($name)); ?></span><?php endif; ?>
</label>
<?php /**PATH C:\xampp\htdocs\typingcenter\resources\views/components/cms/textarea.blade.php ENDPATH**/ ?>