Sonolus Wiki

ItemSection

ItemSection provides information of a section of items.

Syntax

type ItemSection<T> = {
    title: Text | (string & {})
    icon?: Icon
    items: T[]
}

Examples

{
    "title": "#RECOMMENDED",
    "items": [
        // ...
    ]
}