Skip to content

Fragment

reference
1 min readUpdated

Kind: Function

Source: src/jsx/base.ts

Part of: Jsx

Signature

ts
function Fragment({
  children,
}: { key?: string children?: Child | HtmlEscapedString }): HtmlEscapedString

Parameters

NameType
`{
children,
}``{ key?: string children?: Child

Returns: HtmlEscapedString

Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (2)

  • childrenToStringsrc/jsx/components.ts:14
  • jsxDEVsrc/jsx/jsx-dev-runtime.ts:12

Was this page helpful?

Download as PDF
Fragment — Hono (narrator proof)