import { useState } from "react"; // import { useSwipeable } from "react-swipeable"; import SkygardenIndoorLayout from "./SkygardenIndoorLayout"; import { ISwitchLabel } from "../../../types/switchLabel"; import SwitchToggle from "../../SwitchToggle"; import SkygardenOutdoorLayout from "./SkygardenOutdoorLayout"; const skygardenLayouts: ISwitchLabel[] = [ { id: "1", label: "Indoor" }, { id: "2", label: "Outdoor" }, ]; const LayoutSlider = () => { const [currentLabel, setCurrentLabel] = useState( skygardenLayouts[0] ); const handleOnSwitchClick = (label: ISwitchLabel) => { setCurrentLabel(label); }; return (
); }; export default LayoutSlider;