Messages · Components
FolderNav
No summary has been written for FolderNav. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.Public export
typescript
import { FolderNav } from '@happyvertical/smrt-messages/svelte';- Import path
@happyvertical/smrt-messages/svelte- Props
- 4
- Props described
- 4 of 4
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
foldersFolderData[]YesArray of folders and labels to display in the sidebar.activeFolderIdstringNoID of the currently selected folder to highlight.showCountsbooleanNoShows unread message count badges on folders.onfolderclick(folder: FolderData) => voidNoCalled when user clicks on a folder.Bindable state
This component has no bindable public state.
Callback events
onfolderclick(folder: FolderData) => void