/**
* HTML 元素创建工具函数
* 用于在组件中创建 HTML 字符串
*
* @example
* h("div", "class-name", { id: "test" }, "内容")
* //
内容
*/
interface Props {
[key: string]: any;
}
type Children = string | number | boolean | null | undefined | Children[];
/**
* 创建 HTML 元素字符串
*
* @param tagName 标签名
* @param className 类名
* @param props 属性对象
* @param children 子元素
* @returns HTML 字符串
*/
export declare function h(tagName: string, className: string, props?: Props, children?: Children): string;
export default h;
//# sourceMappingURL=h.d.ts.map