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.
<GrantSummary
className="w-360"
aria-label="What it can do"
items={["Manages projects, keys, and models in Northwind", "Reads the rest of Northwind", "Also in organizations you join later"]}
footer="For 90 days; revoke it any time in your account settings."
/>import { GrantSummary } from "@logicplanes/kaeso-ui";属性
actionReactNode备注之后(或单独位于末尾)的小按钮,例如“自定义”。
aria-labelstring列表的无障碍名称(“它可以做什么”)。
footerReactNode各行下方的次要文本备注,例如有效期多长。
itemsreadonly ReactNode[] = []各行内容,简短且不带句末标点。
sectionsreadonly GrantSummarySection[]用可折叠的分区代替各行,每个服务器一个:标题、如数量之类的提示、展开后以代码形式显示的名称,以及是否默认展开。