UNPKG

@copilotkit/a2ui-renderer

Version:

A2UI Renderer for CopilotKit - render A2UI surfaces in React applications

26 lines (24 loc) 684 B
//#region src/web-components/catalog/minimal/utils.ts const mapJustify = (justify) => { switch (justify) { case "center": return "center"; case "end": return "flex-end"; case "spaceAround": return "space-around"; case "spaceBetween": return "space-between"; case "spaceEvenly": return "space-evenly"; case "stretch": return "stretch"; default: return "flex-start"; } }; const mapAlign = (align) => { switch (align) { case "start": return "flex-start"; case "center": return "center"; case "end": return "flex-end"; default: return "stretch"; } }; //#endregion exports.mapAlign = mapAlign; exports.mapJustify = mapJustify; //# sourceMappingURL=utils.cjs.map