Some stuff

This commit is contained in:
Victor Turgeon
2022-11-06 16:17:53 -05:00
parent ed04dc8293
commit 03b6b25177
5 changed files with 130 additions and 29 deletions

View File

@@ -0,0 +1,16 @@
import { Form } from "react-bootstrap";
const QtySelect = ({ qty }) => {
return (
<Form.Select className="qty-select">
{Array.from(Array(qty), (e, i) => {
return (
<option value={i+1} key={i+1}>{i+1}</option>
)
})}
</Form.Select>
);
}
export default QtySelect;