'use client'
import { WebsiteContent, FeatureContent } from '@/lib/content-types'
import HeroEditor from './HeroEditor'
interface ContentEditorTabsProps {
activeTab: string
content: WebsiteContent
isRTL: boolean
t: (key: string) => string
updateHero: (field: any, value: string) => void
updateFeature: (index: number, field: keyof FeatureContent, value: string) => void
updateFAQ: (index: number, field: 'question' | 'answer', value: string | string[]) => void
addFAQ: () => void
removeFAQ: (index: number) => void
updatePricing: (index: number, field: string, value: string | number | boolean) => void
updateTrust: (key: 'item1' | 'item2' | 'item3', field: 'value' | 'label', value: string) => void
updateTestimonial: (field: 'quote' | 'author' | 'role', value: string) => void
}
export default function ContentEditorTabs(props: ContentEditorTabsProps) {
const { activeTab, content, isRTL, t } = props
const dir = isRTL ? 'rtl' : 'ltr'
if (activeTab === 'hero') {
return