UNPKG

@baseplate-dev/ui-components

Version:

Shared UI component library

15 lines 532 B
import { jsx as _jsx } from "react/jsx-runtime"; import { inputVariants } from '#src/styles/index.js'; import { cn } from '#src/utils/index.js'; /** * Input component for a styled <input /> element. * * -- Added more variants for height and right padding * * https://ui.shadcn.com/docs/components/input */ function Input({ className, type, ...props }) { return (_jsx("input", { type: type, "data-slot": "input", className: cn(inputVariants(), className), ...props })); } export { Input }; //# sourceMappingURL=input.js.map