T
SettingsEntry
A registered Unbound settings entry, mirroring Discord's SETTING_RENDERER_CONFIG route shape.
type SettingsEntry = { … }Members
excludeFromDisplay?
booleanKeeps the route registered but leaves its row out of the settings overview.
IconComponent?
React.ComponentTypeThe icon drawn at the start of the row.
key
stringUnique id of the entry. Registering an existing key replaces that entry and logs a warning.
parent
string | nullThe key of the parent entry; null for an entry at the top of the settings overview.
The screen the row opens.
section?
stringThe label of the overview section the row belongs to; Unbound's own entries use 'Unbound'.
type
"route"Always 'route': the entry opens its own screen.
usePredicate?
() => booleanA hook returning whether Discord shows the row; omitted, it always shows.
useTitle
() => stringA hook returning the row and screen title.
useTrailing?
() => React.ReactNodeA hook returning what the row shows at its end, such as a count.