"use client"; import { useTranslations } from "next-intl"; import { useState } from "react"; import { PropertySelect } from "@/components/studio/properties/PropertyControls"; import { SidebarPanelShell } from "@/components/studio/sidebar/SidebarPanelShell"; import { Button } from "@/components/ui/button"; import { FONT_FAMILY_OPTIONS } from "@/lib/studio-layer-props"; import { useStudioStore } from "@/lib/studio-store"; export function FontSidebarContent() { const t = useTranslations("auto.componentsStudioSidebarFontSidebarContent"); const applyFontFamilyToAllTextLayers = useStudioStore( (state) => state.applyFontFamilyToAllTextLayers ); const [fontFamily, setFontFamily] = useState( FONT_FAMILY_OPTIONS[0].value ); const footer = ( ); return ( ({ label: item.label, value: item.value, }))} onChange={setFontFamily} /> ); }