"use client"; import React from 'react'; import { OverlaySettings } from '@/lib/types'; interface StyleControlsProps { settings: OverlaySettings; updateSettings: (newSettings: Partial) => void; } export default function StyleControls({ settings, updateSettings }: StyleControlsProps) { const handleChange = (e: React.ChangeEvent) => { const { name, value, type } = e.target; let newValue: string | number | boolean = value; if (type === 'range') { newValue = parseFloat(value); } else if (type === 'checkbox') { newValue = (e.target as HTMLInputElement).checked; } updateSettings({ [name]: newValue }); }; const handleEmoteChange = (e: React.ChangeEvent) => { const { name, checked } = e.target; updateSettings({ emotes: { ...settings.emotes, [name]: checked, }, }); }; return (

Style Editor

{/* Font Family */}
{/* Font Size */}
{/* Text Color */}
{/* Background Color */}
{/* Background Opacity */}
{/* Toggles */}
); }