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

    Interface AssignmentEditorLabels

    Customizable text labels for the AssignmentEditor component.

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

    import { defaultAssignmentEditorLabels } from '@hiyve/react-assignments';

    // Spanish labels
    const spanishLabels: Partial<AssignmentEditorLabels> = {
    title: 'Tarea',
    placeholder: 'Describe la tarea...',
    untitled: 'Sin titulo',
    dueDateLabel: 'Fecha de entrega',
    statusLabel: 'Estado',
    };

    <AssignmentEditor labels={spanishLabels} />
    interface AssignmentEditorLabels {
        activityTab: string;
        addColumn: string;
        addRow: string;
        assignedToLabel: string;
        blockquote: string;
        bold: string;
        bulletList: string;
        code: string;
        completed: string;
        deleteColumn: string;
        deleteRow: string;
        deleteTable: string;
        dueDateLabel: string;
        editorTab: string;
        heading1: string;
        heading2: string;
        heading3: string;
        highlight: string;
        horizontalRule: string;
        hoursLabel: string;
        inProgress: string;
        insertTable: string;
        italic: string;
        lastSaved: (date: Date) => string;
        minutesLabel: string;
        myActivityTab: string;
        notStarted: string;
        numberedList: string;
        onHold: string;
        paragraph: string;
        placeholder: string;
        readOnlyIndicator: string;
        redo: string;
        save: string;
        saved: string;
        saveError: string;
        saving: string;
        statusLabel: string;
        strikethrough: string;
        taskList: string;
        timeEstimateLabel: string;
        title: string;
        titlePlaceholder: string;
        undo: string;
        unsavedChanges: string;
        untitled: string;
    }
    Index

    Properties

    activityTab: string

    Activity dashboard tab label

    addColumn: string

    Add column button tooltip

    addRow: string

    Add row button tooltip

    assignedToLabel: string

    Assigned-to field label

    blockquote: string

    Blockquote button tooltip

    bold: string

    Bold button tooltip

    bulletList: string

    Bullet list button tooltip

    code: string

    Code button tooltip

    completed: string

    Label for the "completed" status

    deleteColumn: string

    Delete column button tooltip

    deleteRow: string

    Delete row button tooltip

    deleteTable: string

    Delete table button tooltip

    dueDateLabel: string

    Due date field label

    editorTab: string

    Editor tab 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

    hoursLabel: string

    Hours unit label

    inProgress: string

    Label for the "in progress" status

    insertTable: string

    Insert table button tooltip

    italic: string

    Italic button tooltip

    lastSaved: (date: Date) => string

    Last saved text (function)

    minutesLabel: string

    Minutes unit label

    myActivityTab: string

    Personal activity tab label

    notStarted: string

    Label for the "not started" status

    numberedList: string

    Numbered list button tooltip

    onHold: string

    Label for the "on hold" status

    paragraph: string

    Paragraph button tooltip

    placeholder: string

    Placeholder text when editor is empty

    readOnlyIndicator: string

    Read-only mode indicator text

    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

    statusLabel: string

    Status field label

    strikethrough: string

    Strikethrough button tooltip

    taskList: string

    Task list button tooltip

    timeEstimateLabel: string

    Time estimate field label

    title: string

    Header title for the assignments panel

    titlePlaceholder: string

    Title input placeholder

    undo: string

    Undo button tooltip

    unsavedChanges: string

    Unsaved changes indicator

    untitled: string

    Default title for untitled assignments