import clsx from 'clsx' import { texts } from '@/texts' interface Props { className?: string isDirty: boolean } export default function UnsavedChangesIndicator({ className, isDirty }: Props) { return ( {isDirty ? texts.common.unsavedChanges : texts.common.noUnsavedChanges} ) }