remove old styles and begin phase out old elements
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
const Select = (props) => {
|
||||
return (
|
||||
<select
|
||||
className={props.className}
|
||||
onChange={(e) => props.onChange(e.target.value)}
|
||||
value={props.value}>
|
||||
{props.list.map((element) => (
|
||||
<option value={element.value}>{element.value}</option>
|
||||
))}
|
||||
</select>
|
||||
);
|
||||
};
|
||||
|
||||
export { Select };
|
||||
Reference in New Issue
Block a user