BaseSetting: {
    id: string;
    label: string;
    type: "options" | "toggle";
    badge?(): string;
}

Description of a setting

Type declaration

  • id: string

    identifier of the setting

  • label: string

    label of the setting If can be a key in the global lang config

  • type: "options" | "toggle"

    type of the setting

  • badge?:function