/** * Main application component. * * @package GetMD * @since 1.0.0 */ import { ExportFilters } from './components/ExportFilters'; import { ExportHistory } from './components/ExportHistory'; import { Settings } from './components/Settings'; import { Tabs, TabsContent, TabsList, TabsTrigger } from './components/ui/tabs'; import { Download, Clock, Settings as SettingsIcon } from 'lucide-react'; /** * Main application component that renders the tabbed UI for exporting content, viewing export history, and adjusting settings. * * Reads optional `i18n` strings from `window.summixGetmdData` to localize visible labels and falls back to English defaults when not provided. * * @returns A React element containing the header and a Tabs interface with panels for Export, Export History, and Settings. */ function App() { const { i18n } = window.summixGetmdData || {}; return (

{i18n?.appTitle || 'GetMD'}

{i18n?.appSubtitle || 'Turn your WordPress content into clean Markdown files.'}

{i18n?.tabExport || 'Export'} {i18n?.tabHistory || 'History'} {i18n?.tabSettings || 'Settings'}
); } export default App;