9 lines
433 B
PHP
9 lines
433 B
PHP
@props(['disabled' => false])
|
|
|
|
<input
|
|
@disabled($disabled)
|
|
{{ $attributes->merge([
|
|
'class' => 'w-full px-3.5 py-2.5 bg-white border border-[--color-border-subtle] rounded-lg text-sm text-[--color-text-primary] placeholder-[--color-text-muted] focus:outline-none focus:ring-2 focus:ring-[--color-accent] focus:border-transparent transition-all duration-150 disabled:opacity-50 disabled:cursor-not-allowed'
|
|
]) }}
|
|
>
|