SPB Git

spb/trouve-ka Public

Trouve-KA — moteur de recherche web indépendant, Québec-first. Crawler distribué, index OpenSearch, ranking bilingue, galerie d'images. En prod : www.trouve-ka.com

Python 76.8% TypeScript 15.7% SQL 3.9% Shell 1.4% CSS 1.3% Dockerfile 0.7%
681 B · 28 lines tsx
Raw Blame History
1/**2 * Trouve-KA — composant UI Input (champ « field » : bordure encre, ombre dure)3 * Author: Simon-Pierre Boucher4 * Contact: contact@spboucher.ai5 */67import { forwardRef, type InputHTMLAttributes } from "react";8import { cn } from "@/lib/utils";910export type InputProps = InputHTMLAttributes<HTMLInputElement>;1112const Input = forwardRef<HTMLInputElement, InputProps>(13  ({ className, type = "text", ...props }, ref) => (14    <input15      ref={ref}16      type={type}17      className={cn(18        "field h-11 text-sm disabled:cursor-not-allowed disabled:opacity-50",19        className,20      )}21      {...props}22    />23  ),24);25Input.displayName = "Input";2627export { Input };28