UNPKG

@arolariu/components

Version:

🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡

27 lines (26 loc) • 930 B
"use client"; import { jsx } from "react/jsx-runtime"; import { Input } from "@base-ui/react/input"; import { mergeProps } from "@base-ui/react/merge-props"; import { useRender } from "@base-ui/react/use-render"; import { cn } from "../../lib/utilities.js"; import input_module from "./input.module.js"; import * as __rspack_external_react from "react"; const input_Input = /*#__PURE__*/ __rspack_external_react.forwardRef((props, ref)=>{ const { className, render, type, ...otherProps } = props; return /*#__PURE__*/ jsx(Input, { ref: ref, type: type, ...otherProps, render: useRender({ defaultTagName: "input", render: render, props: mergeProps({ className: cn(input_module.input, className) }, {}) }) }); }); input_Input.displayName = "Input"; export { input_Input as Input }; //# sourceMappingURL=input.js.map