import React, { useState } from "react"; const RadioBox = ({ prices, handleFilters }) => { // eslint-disable-next-line const [value, setValue] = useState(0); const handleChange = event => { handleFilters(event.target.value); setValue(event.target.value); }; return prices.map((p, i) => (
)); }; export default RadioBox;