UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

24 lines (23 loc) 1.11 kB
/** * This file was auto-generated by Fern from our API Definition. */ import * as Intercom from "../index"; /** * A list component renders a list of items which you provide in an array. You can make each list item take an action by adding the relevant action object to the item: * * - [Trigger a submit request to be sent](https://developers.intercom.com/docs/references/canvas-kit/actioncomponents/submit-action) Inbox Messenger * - [Open a link in a new page](https://developers.intercom.com/docs/references/canvas-kit/actioncomponents/url-action) Inbox Messenger * - [Open a sheet](https://developers.intercom.com/docs/references/canvas-kit/actioncomponents/sheets-action) Messenger */ export interface ListComponent { /** The items that will be rendered in the list. */ items: ListComponent.Items.Item[]; /** Styles all list items and prevents the action. Default is `false`. */ disabled?: boolean; } export declare namespace ListComponent { type Items = Items.Item[]; namespace Items { type Item = Intercom.ListItemWithImage | Intercom.ListItemWithoutImage; } }