diff --git a/src/index.ts b/src/index.ts index 354b8a2..0b8719d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,7 +6,24 @@ export * from './utils' export { ErrorBoundary } from '@kitajs/html/error-boundary' -export { Html } from '@kitajs/html' +import {escape, escapeHtml, isVoidElement, attributesToString, toKebabCase, isUpper, styleToString, h, contentsToString, contentToString, compile, Fragment} from "@kitajs/html"; + +export const Html = { + escape, + e: escape, + escapeHtml, + isVoidElement, + attributesToString, + toKebabCase, + isUpper, + styleToString, + createElement: h, + h, + contentsToString, + contentToString, + Fragment +}; + export { createElement } export { html as default } from './html'