import { LoadingIndicator } from '@create-figma-plugin/ui'; import { LibraryError } from '@ui/components/LibraryError'; import { useFigmaContext } from '@ui/context'; import { ExportForm } from './ExportForm'; import { ExporterProgress } from './ExporterProgress'; import { PluginReload } from './PluginReload'; export const PenpotExporter = () => { const { loading, needsReload, exporting, error } = useFigmaContext(); if (loading) return ; if (exporting) return ; if (needsReload) return ; if (error) return ; return ; };