@vicinae/api
    Preparing search index...

    Namespace Section

    List items can be organized inside sections, in order to further categorize them.

    Note that item inside sections still benefit from automatic fuzzy filtering, but items remain grouped by section no matter their matching scores.

    A list can render sections and render items that are not inside any section. While this is generally considered bad design, it will work as list items placed outside sections will automatically be attached to an unnamed section.

    export default MyCommand() {
    return (
    <List>
    <List.Section title="Section 1">
    <List.Item title="Item 1" />
    <List.Item title="Item 2" />
    </List.Section />
    <List.Section title="Section 2">
    <List.Item title="Item 1" />
    <List.Item title="Item 2" />
    </List.Section />
    </List>
    );
    }

    Type Aliases

    Props