import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {useField}from'formik';const TextInput = ({
  label,
  labelClassName,
  ...props
}) => {
  const [field] = useField(props);
  return jsxs(Fragment, {
    children: [jsx("label", {
      htmlFor: props.id || props.name,
      className: labelClassName,
      children: label
    }), jsx("input", {
      className: "text-input",
      style: {
        marginTop: '8px'
      },
      ...field,
      ...props
    })]
  });
};export{TextInput};//# sourceMappingURL=FormInput.js.map
