"use client"; import React from "react"; import { cn } from "@/lib/utils"; import { Label } from "@/components/ui/label"; import { useConfig } from "@/hooks/use-config"; import { Icon } from "@/components/ui/icon"; import { wideContentWidthSvg, boxedContentWidthSvg } from "./data"; import { contentType } from "@/lib/type"; const allContent: { key: contentType; label: string }[] = [ { key: "wide", label: "Wide" }, { key: "boxed", label: "Boxed" }, ]; const SetContentWidth = () => { const [config, setConfig] = useConfig(); return (