import { Button } from './ui' import { t } from '@/lib/i18n' interface ArticleFormButtonsProps { loading: boolean relayStatuses?: unknown onCancel?: () => void onPreview?: () => void } export function ArticleFormButtons({ loading, onCancel, onPreview }: ArticleFormButtonsProps): React.ReactElement { return (
{onPreview && ( )} {onCancel && ( )}
) }