Loading repository data…
Loading repository data…
bluuweb / repository
Directos para crear proyecto de React + Typescript + Vite.js + Firebase
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
.custom-scrollbar {
overflow-y: auto;
}
.custom-scrollbar::-webkit-scrollbar {
width: 0;
background: transparent;
}
.custom-scrollbar:hover::-webkit-scrollbar {
width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background-color: rgba(156, 163, 175, 0.5);
border-radius: 10px;
}
.custom-scrollbar:hover::-webkit-scrollbar-thumb {
background-color: rgba(107, 114, 128, 0.7);
border-radius: 10px;
}
/* For Firefox */
.custom-scrollbar {
scrollbar-width: none; /* Hide scrollbar by default */
}
.custom-scrollbar:hover {
scrollbar-width: thin; /* Show thin scrollbar on hover */
scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}
En TypeScript, el operador ! se llama "non-null assertion operator". Se utiliza para indicar al compilador que una expresión no es null ni undefined, incluso si el tipo de la expresión podría serlo. Esto es útil cuando el programador está seguro de que el valor no será null o undefined en tiempo de ejecución, pero el compilador no puede inferirlo.
ejemplo:
if (auth.currentUser!.email === values.email) {
form.setError("email", {
type: "manual",
message: "You can't search yourself",
});
return;
}