For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/genui/openui/chat/agent/variables/CompositeCardBlock.md.
Lynx
  • 简体中文
  • 变量: CompositeCardBlock

    const CompositeCardBlock: DefinedComponent<ZodObject<{ action: ZodOptional<ZodUnion<readonly [ZodObject<{ steps: ZodArray<ZodObject<{ type: ...; }, $loose>>; }, $strip>, ZodObject<{ context: ZodOptional<ZodString>; params: ZodOptional<ZodRecord<ZodString, ZodAny>>; type: ZodOptional<ZodString>; url: ZodOptional<ZodString>; }, $strip>]>>; gap: ZodOptional<ZodUnion<readonly [ZodNumber, ZodString]>>; items: ZodArray<$ZodType<SubComponentOf<{ body: (SubComponentOf<{ size: ...; subtext?: ...; subtextVariant: ...; value: ...; variant: ...; }> | SubComponentOf<{ alt: ...; src?: ...; }> | SubComponentOf<{ size: ...; subtext?: ...; subtextVariant: ...; value: ...; variant: ...; }> | SubComponentOf<{ items: ...; size?: ...; variant?: ...; }>)[]; footer?: { button?: SubComponentOf<...>; price?: SubComponentOf<...>; }; header?: SubComponentOf<{ alt?: ... | ...; bold: boolean; imageSize?: ... | ...; layout: ... | ...; src: string; subtitle?: ... | ...; title: string; }> | SubComponentOf<{ size: ... | ... | ... | ...; subtext?: ... | ...; subtextVariant: ... | ... | ...; value: string; variant: ... | ...; }> | SubComponentOf<{ alt: string; src?: ... | ...; }>; id?: string; }>, unknown, $ZodTypeInternals<SubComponentOf<{ body: (SubComponentOf<...> | SubComponentOf<...> | SubComponentOf<...> | SubComponentOf<...>)[]; footer?: { button?: ... | ...; price?: ... | ...; }; header?: SubComponentOf<{ alt?: ...; bold: ...; imageSize?: ...; layout: ...; src: ...; subtitle?: ...; title: ...; }> | SubComponentOf<{ size: ...; subtext?: ...; subtextVariant: ...; value: ...; variant: ...; }> | SubComponentOf<{ alt: ...; src?: ...; }>; id?: string; }>, unknown>>>; layout: ZodDefault<ZodEnum<{ carousel: "carousel"; grid: "grid"; }>>; responsive: ZodDefault<ZodBoolean>; }, $strip>, () => null>

    可在服务端使用的 CompositeCardBlock 组件约定。

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。