CEC-1216 Remove unused components (#129)

* CEC-1216 Remove unused components

* Remove import
This commit is contained in:
John Wu
2022-03-21 17:21:59 -07:00
committed by GitHub
parent 2e113830a5
commit 4daf171b1e
7 changed files with 6 additions and 527 deletions

View File

@@ -1,34 +0,0 @@
import React from "react";
import { Select } from "@material-ui/core";
const ManifestECUFlashModes = (props) => {
const changeHandler = (e) => {
if (!props.changeHandler) return;
props.changeHandler(e);
};
return (
<Select
id={props.id}
native
variant="outlined"
value={props.value}
onChange={changeHandler}
>
{FlashModeTypes.map((item, index) => (
<option key={index} value={item[0]}>
{item[1]}
</option>
))}
</Select>
);
};
export default ManifestECUFlashModes;
const FlashModeTypes = [
["A", "Mode A"],
["D", "Mode D"],
["SELF", "Self"],
];