dap-design-system
Version:
Official design system for the DÁP (dap.gov.hu)
17 lines (16 loc) • 577 B
TypeScript
import { CellContent } from '../types/cell-content';
/**
* Main cell content renderer
* Detects content type and returns appropriate rendering
*
* @param content - The cell content in any supported format
* @returns Rendered content (TemplateResult, HTMLElement, or primitive)
*/
export declare function renderCellContent(content: CellContent): unknown;
/**
* Cleanup cell content
* Calls cleanup callbacks if present
*
* @param element - The rendered element that may contain cleanup callbacks
*/
export declare function cleanupCellContent(element: unknown): void;