Create new monitor without dropdowns

This commit is contained in:
MuhammadKhalilzadeh committed 2024-06-25 13:22:28 +03:30
1 parent aa36a33e4d
commit ca689d4de8
9 files changed
+308 -34

No files matched your search

+3 -5
View File
@@ -25,8 +25,10 @@ function RadioButton(props) {
return (
<div className="custom-radio-button">
<FormControlLabel
value="check"
checked={props.checked}
value={props.value}
control={<Radio size={props.size} />}
onChange={props.onChange}
label={
<div>
<div className="service-check-list-title">{props.title}</div>
@@ -45,8 +47,4 @@ RadioButton.propTypes = {
size: PropTypes.string,
};
RadioButton.defaultProps = {
size: "small",
};
export default RadioButton;