Svelte · Overview
NoteWidget
Note widget (#3727): sanitized Markdown from the `body` option. It renders a parsed node tree as Svelte elements, never `{@html}`, so stored text cannot inject markup or an unsafe link.Public export
typescript
import { NoteWidget } from '@happyvertical/smrt-svelte/overview';- Import path
@happyvertical/smrt-svelte/overview- Props
- 8
- Props described
- 4 of 8
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
idstringYesNot describedoptionsOverviewOptionsYesNot describeddataData | undefinedYesNot describedspannumberYesNot describedtitlestringYesHeading shown by the frame (the `title` option, else the type title).localestringYesBCP-47 locale for number formatting.iconComponentComponent<{ name: string; size?: number; }>NoThe host's renderer for icon names that are not built in.presentation'card' | 'plain'NoHow the grid frames tiles right now (`card` when editing, whatever the grid's `presentation` is otherwise). Widgets that draw their own frame drop it under `plain`.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.