import styles from "./Draw.module.css"; import plus_icon from "../../assets/plus_icon.png"; export const FloorSelector = ({floorConfig}) => { const {floors,searchParams,addFloorHandler,setSearchParams,deleteFloorHandler} = floorConfig; return (
{/* Add new positive floor above */} {/* Display editable floors */} {floors .sort((a, b) => b.num - a.num) .map((floor) => (
))} {/* Add new negative floor below */}
) }