SettingsTab
A tab of SettingsTabs.
Import:
import type { SettingsTab } from '@mnaoumov/obsidian-lib/settings-tabs';Signature:
export interface SettingsTabProperties
| Property | Type | Description |
|---|---|---|
| icon? | string | The name of an Obsidian icon shown before the name. |
| id | string | The id of the tab, unique among the tabs. |
| name | string | The name shown on the tab button. |
| render | (containerEl: HTMLElement) => void | Renders the tab's settings into the panel, which is empty each time the tab is selected. |