<x-input :type="'text'" :name="'name'" :id="'name'" :class="'form-control mw-100 w-200px variant-product-name'" :autocomplete="'off'" :label="''" :required="''" :placeholder="'Ürün Adı'" />
merhaba bu kodun props larını daha kısa yazmanın yolu var mı ? yani dizi olarak :setAttr=[props,props]
input component class
public const TYPES = ["text","checkbox","tel","number","color","submit","radio","file","password","email"];
public function __construct(
public string $type,
public string $name,
public string $class,
public string $placeholder,
public string $id,
public string $label,
public string $required,
public string $value="",
public string $autocomplete="")
{
}