GrantSummary

用几行简短文字说明智能体可以做什么,每行前有一个对勾,就像在其授权页面上一样。

查看源码
  • Manages projects, keys, and models in Northwind
  • Reads the rest of Northwind
  • Also in organizations you join later

For 90 days; revoke it any time in your account settings.

import { GrantSummary } from "@logicplanes/kaeso-ui";

属性

  • action
    ReactNode

    备注之后(或单独位于末尾)的小按钮,例如“自定义”。

  • aria-label
    string

    列表的无障碍名称(“它可以做什么”)。

  • footer
    ReactNode

    各行下方的次要文本备注,例如有效期多长。

  • items
    readonly ReactNode[] = []

    各行内容,简短且不带句末标点。

  • sections
    readonly GrantSummarySection[]

    用可折叠的分区代替各行,每个服务器一个:标题、如数量之类的提示、展开后以代码形式显示的名称,以及是否默认展开。