<x-form.group label="{{ $label ?? $name }}" class="{{ $classGroup ?? '' }}">
    @if($value)
    <div class="mb-2">
      <img class="img-small" src="/uploads/{{$value}}" alt="" >
    </div>

    @endif
    <input name="{{$name}}" type="file"  class="form-control-file {{ $class ?? '' }}{{ $errors->has($name) ? ' is-invalid' : '' }}" >
    @if ($errors->has($name)) 
    <div class="invalid-feedback">
        {{  $errors->first($name) }}
    </div>
    @endif
</x-form.group>