'use strict';

var jsxRuntime = require('../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
var flex = require('../flex/flex.cjs');
var label = require('../label/label.cjs');
var inputfield_module = require('./inputfield.module.css.cjs');

/**
 * @deprecated Use InputField from '@raystack/apsara/v1' instead.
 */
const InputField = ({ label: label$1, children, ...props }) => {
    return (jsxRuntime.jsxRuntimeExports.jsxs(flex.Flex, { direction: "column", gap: "extra-small", ...props, children: [label$1 && jsxRuntime.jsxRuntimeExports.jsx(label.Label, { className: inputfield_module.default.bold, children: label$1 }), children] }));
};
InputField.displayName = "InputField";

exports.InputField = InputField;
//# sourceMappingURL=inputfield.cjs.map
