You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
387 B
12 lines
387 B
import React from "react";
|
|
|
|
const FormInputGroup = ({text, placeholder, value, onInput}) => {
|
|
return (
|
|
<div className="input-group mb-4">
|
|
<label className="input-group-text">{text}</label>
|
|
<input type="number" className="form-control" placeholder={placeholder} value={value} onInput={onInput} />
|
|
</div>
|
|
)
|
|
};
|
|
|
|
export default FormInputGroup; |