@htmlbricks/hb-bundle
Version:
Single IIFE loader for all HTML Bricks hb-* web components from the jsDelivr CDN, with optional Subresource Integrity; includes agent/LLM docs and theme CSS variables.
13 lines (11 loc) • 339 B
TypeScript
export type Component = {
id?: string;
style?: string;
img: { src: string; alt?: string };
text_side?: "left" | "right";
half_space?: boolean;
text: { title?: string; body?: string; link?: { label: string; src?: string; key?: string; bgColor?: string; textColor?: string } };
};
export type Events = {
elClick: { key: string };
};