hono
Version:
Web framework built on Web Standards
13 lines (12 loc) • 537 B
TypeScript
/**
* @module
* This module provides Hono's JSX runtime.
*/
export { jsxDEV as jsx, Fragment } from './jsx-dev-runtime';
export { jsxDEV as jsxs } from './jsx-dev-runtime';
export type { JSX } from './jsx-dev-runtime';
import { html } from '../helper/html';
import type { HtmlEscapedString } from '../utils/html';
export { html as jsxTemplate };
export declare const jsxAttr: (name: string, value: string | Promise<string>) => HtmlEscapedString | Promise<HtmlEscapedString>;
export declare const jsxEscape: (value: string) => string;