import React, { memo } from "react";
import { useGenerator } from "../../context/GeneratorContext";
const ViewGridIcon = ({ className = "w-5 h-5" }) => (
);
const ViewListIcon = ({ className = "w-5 h-5" }) => (
);
function ViewToggle({ className = "" }) {
const { viewMode, setViewMode } = useGenerator();
return (
);
}
export default memo(ViewToggle);