Interface SettingsTools

interface SettingsTools {
    addAfter: ((sectionName: string, sections: Section | Section[]) => Section[]);
    addSection: ((options: {
        _id?: string;
        color?: string;
        elem: ((args: unknown) => ReactElement<any, string | JSXElementConstructor<any>>);
        fromEnd?: boolean;
        label?: string | LabelCallback;
        name: string;
        pos?: number;
    }) => Section);
    removeAfter: ((sectionName: string) => void);
    removeSection: ((sectionName: string) => void);
    rpSections: Section[];
    rpSectionsAfter: Map<string, Section[]>;
}

Properties

addAfter: ((sectionName: string, sections: Section | Section[]) => Section[])
addSection: ((options: {
    _id?: string;
    color?: string;
    elem: ((args: unknown) => ReactElement<any, string | JSXElementConstructor<any>>);
    fromEnd?: boolean;
    label?: string | LabelCallback;
    name: string;
    pos?: number;
}) => Section)
removeAfter: ((sectionName: string) => void)
removeSection: ((sectionName: string) => void)
rpSections: Section[]
rpSectionsAfter: Map<string, Section[]>