"use client"; import { useConfig } from "@/hooks/use-config"; import { Check } from "lucide-react"; import { cn } from "@/lib/utils"; import { Label } from "@/components/ui/label"; import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"; const FooterStyle = () => { const [config, setConfig] = useConfig(); const { footer } = config; return (
Footer Type
{ setConfig({ ...config, footer: value as any }); }} > {["sticky", "hidden", "default"].map((value, index) => { return (
); })}
); }; export default FooterStyle;