Hiyve Components - v1.0.0
    Preparing search index...

    Interface NoteEditorLabels

    Customizable text labels for the NoteEditor component.

    All text displayed in the NoteEditor can be customized through this interface. This enables full internationalization (i18n) support.

    import { defaultNoteEditorLabels } from '@hiyve/react-notes';

    // Spanish labels
    const spanishLabels: Partial<NoteEditorLabels> = {
    title: 'Notas',
    placeholder: 'Escribe tus notas...',
    untitled: 'Sin título',
    };

    <NoteEditor labels={spanishLabels} />
    interface NoteEditorLabels {
        addColumn: string;
        addRow: string;
        blockquote: string;
        bold: string;
        bulletList: string;
        clearColor: string;
        code: string;
        deleteColumn: string;
        deleteRow: string;
        deleteTable: string;
        exportPdf: string;
        heading1: string;
        heading2: string;
        heading3: string;
        highlight: string;
        horizontalRule: string;
        insertTable: string;
        italic: string;
        lastSaved: (date: Date) => string;
        numberedList: string;
        paragraph: string;
        placeholder: string;
        redo: string;
        save: string;
        saved: string;
        saveError: string;
        saving: string;
        strikethrough: string;
        taskList: string;
        textColor: string;
        title: string;
        titlePlaceholder: string;
        undo: string;
        unsavedChanges: string;
        untitled: string;
    }
    Index

    Properties

    addColumn: string

    Add column button tooltip

    addRow: string

    Add row button tooltip

    blockquote: string

    Blockquote button tooltip

    bold: string

    Bold button tooltip

    bulletList: string

    Bullet list button tooltip

    clearColor: string

    Clear text color

    code: string

    Code button tooltip

    deleteColumn: string

    Delete column button tooltip

    deleteRow: string

    Delete row button tooltip

    deleteTable: string

    Delete table button tooltip

    exportPdf: string

    Export to PDF button label

    heading1: string

    Heading 1 button tooltip

    heading2: string

    Heading 2 button tooltip

    heading3: string

    Heading 3 button tooltip

    highlight: string

    Highlight button tooltip

    horizontalRule: string

    Horizontal rule button tooltip

    insertTable: string

    Insert table button tooltip

    italic: string

    Italic button tooltip

    lastSaved: (date: Date) => string

    Last saved text (function)

    numberedList: string

    Numbered list button tooltip

    paragraph: string

    Paragraph button tooltip

    placeholder: string

    Placeholder text when editor is empty

    redo: string

    Redo button tooltip

    save: string

    Save button label

    saved: string

    Saved indicator text

    saveError: string

    Error saving message

    saving: string

    Saving indicator text

    strikethrough: string

    Strikethrough button tooltip

    taskList: string

    Task list button tooltip

    textColor: string

    Text color button tooltip

    title: string

    Header title for the notes panel

    titlePlaceholder: string

    Title input placeholder

    undo: string

    Undo button tooltip

    unsavedChanges: string

    Unsaved changes indicator

    untitled: string

    Default title for untitled notes