Type Alias ItemParams

ItemParams: {
    autocomplete?: string;
    group?: string;
    icon?: string;
    id?: string;
    keyword?: string[];
    order?: number;
    subtitle?: string;
    title: string;
}

Type declaration

  • Optionalautocomplete?: string

    The text that will replace the current input when the user uses the tab key If not provided, the title will be used

  • Optionalgroup?: string

    The group of the result. It's used to group the results in the results list component. This only applies to results displayed in an extension app window. If not provided, the result will be displayed on the top of the list.

  • Optionalicon?: string

    The icon to be displayed in the result If not provided, the extension icon will be used If the extension icon is not provided, the default icon will be used

  • Optionalid?: string

    An unique identifier for the result, if not provided, it will be generated Used to update or remove the action from the store

  • Optionalkeyword?: string[]

    Keywords used by Rokii to improve the search results

  • Optionalorder?: number

    The order of the result. It's used to order the results in the results list

  • Optionalsubtitle?: string

    The secondary text that will be displayed in the result

  • title: string

    The main text that will be displayed in the result