temp/src/Components/BookletInput.jsx

33 lines
770 B
React
Raw Normal View History

2024-06-11 18:18:19 +05:30
import * as React from "react";
import Box from "@mui/material/Box";
import TextField from "@mui/material/TextField";
2024-05-23 09:43:09 +05:30
2024-06-11 18:18:19 +05:30
const BookletInput = ({ setBookletInput, setDataFetched, bookletInput }) => {
return (
<Box
// component="form"
// sx={{
// '& > :not(style)': { m: 1, width: '25ch' },
// }}
// noValidate
className="w-100"
autoComplete="off"
>
<TextField
id="outlined-basic"
label="Booklet Serial No"
variant="outlined"
className="w-100"
autoComplete="off"
value={bookletInput}
onChange={(e) => {
setBookletInput(e.target.value);
setDataFetched(false);
}}
/>
</Box>
);
};
2024-05-23 09:43:09 +05:30
2024-06-11 18:18:19 +05:30
export default BookletInput;