Android_Retail/src/Components/Forms/ScannerInputField.jsx

38 lines
931 B
JavaScript

import {ScannerInputField as ScannerInputFieldLibrary} from "../../../ownLib/my-ui-lib"
export const ScannerInputField = ScannerInputFieldLibrary
// import React, { useState } from 'react';
// import { Input } from 'antd';
// import FloatLabel from './FloatLabel/index.jsx';
// import './main.scss';
// export const ScannerInputField = ({ ...props }) => {
// const [inpValue, setInputValue] = useState('');
// const {
// onChange,
// isOnChange,
// label,
// valueData,
// ...rest
// } = props;
// return (
// <div className="example">
// <FloatLabel label={label} value={inpValue} isOnChange={isOnChange}>
// <Input
// {...rest}
// onChange={(e) => {
// setInputValue(e?.target?.value);
// if (onChange) {
// onChange(e);
// }
// }}
// />
// </FloatLabel>
// </div>
// );
// };