ENGLISH·COURSE API
    Preparing search index...

    Props for ProfileSaveBar.

    type ProfileSaveBarProps = {
        state: ProfileSaveState;
        canSave: boolean;
        onSave: () => void;
        onDiscard: () => void;
    }
    Index

    Properties

    Where the card stands: nothing edited, edited, saving, or just saved.

    canSave: boolean

    Whether the edited card can be stored — a blank name cannot.

    onSave: () => void

    Stores the edited card.

    onDiscard: () => void

    Returns the form and the card to what storage holds.