UNPKG

@kit-data-manager/react-search-component

Version:

All-in-one component for rendering an elastic search UI for searching anything. Built-in support for visualizing related items in a graph and resolving unique identifiers.

9 lines 848 B
import { jsx as _jsx } from "react/jsx-runtime"; import * as React from "react"; import { cn } from "../../lib/utils"; const Input = React.forwardRef(({ className, type, ...props }, ref) => { return (_jsx("input", { type: type, className: cn("rfs-flex rfs-h-10 rfs-w-full rfs-rounded-md rfs-border rfs-border-input rfs-bg-background rfs-px-3 rfs-py-2 rfs-text-base rfs-ring-offset-background file:rfs-border-0 file:rfs-bg-transparent file:rfs-text-sm file:rfs-font-medium file:rfs-text-foreground placeholder:rfs-text-muted-foreground focus-visible:rfs-outline-none focus-visible:rfs-ring-2 focus-visible:rfs-ring-ring focus-visible:rfs-ring-offset-2 disabled:rfs-cursor-not-allowed disabled:rfs-opacity-50 md:rfs-text-sm", className), ref: ref, ...props })); }); Input.displayName = "Input"; export { Input }; //# sourceMappingURL=input.js.map