Some stuff
This commit is contained in:
@@ -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;
|
Reference in New Issue
Block a user