Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Manually create the Html Object since kita removed it for some reason.
  • Loading branch information
x4132 authored Jul 27, 2024
1 parent 63c348e commit e26f2f7
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit e26f2f7

Please sign in to comment.