updateProp(tableName, varName, newValue) {
        const table = this.props[tableName];
        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
        if (table === undefined) {
            this.props[tableName] = {
                [varName]: newValue
            };
        }
        else {
            table[varName] = newValue;
        }
    }
Update the value of a prop
@param tableName Name of the data table
@param varName Name of the prop to update
@param newValue New prop value