Introduce textarea component

This commit is contained in:
Marcus Moore 2025-01-13 16:34:12 -08:00
parent 587449ef97
commit 9573428201
No known key found for this signature in database

View file

@ -0,0 +1,11 @@
@props([
'value' => '',
'cols' => 50,
'rows' => 10,
])
<textarea
{{ $attributes->merge(['class' => 'form-control']) }}
cols="{{ $cols }}"
rows="{{ $rows }}"
>{{ $value }}</textarea>