{
  "name": "token-group",
  "componentName": "TokenGroup",
  "displayName": "TokenGroup",
  "regions": [],
  "functions": [],
  "properties": [
    {
      "name": "alignment",
      "type": "string",
      "inlineType": {
        "name": "TokenGroupProps.Alignment",
        "type": "union",
        "values": [
          "horizontal",
          "vertical"
        ]
      },
      "optional": true,
      "description": "Specifies the direction in which tokens are aligned (`horizontal | vertical`).",
      "defaultValue": "'horizontal'",
      "formattedType": "string"
    },
    {
      "name": "disableOuterPadding",
      "type": "boolean",
      "optional": true,
      "description": "Removes any outer padding from the component.\nWe recommend to always enable this property.",
      "formattedType": "boolean"
    },
    {
      "name": "i18nStrings",
      "type": "TokenGroupProps.I18nStrings",
      "inlineType": {
        "name": "TokenGroupProps.I18nStrings",
        "type": "object",
        "properties": [
          {
            "name": "limitShowFewer",
            "optional": true,
            "type": "string"
          },
          {
            "name": "limitShowMore",
            "optional": true,
            "type": "string"
          }
        ]
      },
      "optional": true,
      "description": "An object containing all the necessary localized strings required by the component.",
      "i18nTag": true,
      "formattedType": "TokenGroupProps.I18nStrings {\n  limitShowFewer?: string\n  limitShowMore?: string\n}"
    },
    {
      "name": "items",
      "type": "ReadonlyArray<TokenGroupProps.Item>",
      "optional": true,
      "description": "\nAn array of objects representing token items. Each token has the following properties:\n\n- `label` (string) - Title text of the token.\n- `description` (string) - (Optional) Further information about the token that appears below the label.\n- `disabled` [boolean] - (Optional) Determines whether the token is disabled.\n- `labelTag` (string) - (Optional) A label tag that provides additional guidance, shown next to the label.\n- `tags` [string[]] - (Optional) A list of tags giving further guidance about the token.\n- `dismissLabel` (string) - (Optional) Adds an `aria-label` to the dismiss button.\n- `iconName` (string) - (Optional) Specifies the name of an [icon](/components/icon/) to display in the token.\n- `iconAlt` (string) - (Optional) Specifies alternate text for a custom icon, for use with `iconUrl`.\n- `iconUrl` (string) - (Optional) URL of a custom icon.\n- `iconSvg` (ReactNode) - (Optional) Custom SVG icon. Equivalent to the `svg` slot of the [icon component](/components/icon/).",
      "defaultValue": "[]",
      "formattedType": "ReadonlyArray<TokenGroupProps.Item>"
    },
    {
      "name": "limit",
      "type": "number",
      "optional": true,
      "description": "Specifies the maximum number of displayed tokens. If the property isn't set, all of the tokens are displayed.",
      "formattedType": "number"
    },
    {
      "name": "limitShowFewerAriaLabel",
      "type": "string",
      "optional": true,
      "description": "Adds an `aria-label` to the \"Show fewer\" button.\nUse to assign unique labels when there are multiple token groups with the same `limitShowFewer` label on one page.",
      "formattedType": "string"
    },
    {
      "name": "limitShowMoreAriaLabel",
      "type": "string",
      "optional": true,
      "description": "Adds an `aria-label` to the \"Show more\" button.\nUse to assign unique labels when there are multiple token groups with the same `limitShowMore` label on one page.",
      "formattedType": "string"
    },
    {
      "name": "readOnly",
      "type": "boolean",
      "optional": true,
      "description": "Specifies if the control is read-only, which prevents the\nuser from modifying the value. A read-only control is still focusable.",
      "formattedType": "boolean"
    }
  ],
  "events": [
    {
      "name": "onDismiss",
      "description": "Called when the user clicks on the dismiss button. The token won't be automatically removed.\nMake sure that you add a listener to this event to update your application state.",
      "cancelable": false,
      "detailType": "TokenGroupProps.DismissDetail",
      "detailInlineType": {
        "name": "TokenGroupProps.DismissDetail",
        "type": "object",
        "properties": [
          {
            "name": "itemIndex",
            "optional": false,
            "type": "number"
          }
        ]
      },
      "formattedDetailType": "TokenGroupProps.DismissDetail {\n  itemIndex: number\n}"
    }
  ],
  "path": "/components/token-group"
}