Merge pull request #190 from MuhammadKhalilzadeh/monitors
Create new monitor without dropdowns
This commit is contained in:
9 files changed
+305
-31
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import "./flexibileTextField.css";
|
||||
import React from "react";
|
||||
|
||||
const FlexibileTextField = ({ title, type, placeholder }) => {
|
||||
const FlexibileTextField = ({ title, type, placeholder, value, onChange }) => {
|
||||
return (
|
||||
<div className="flexibile-textfield">
|
||||
<div className="flexibile-textfield-title">{title}</div>
|
||||
@@ -9,6 +9,8 @@ const FlexibileTextField = ({ title, type, placeholder }) => {
|
||||
type={type}
|
||||
className="flexibile-textfield-input"
|
||||
placeholder={placeholder}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user