Skip to content

FragmentText

FragmentText(__namedParameters): Element | null

Defined in: react/src/Fragments.tsx:40

Static copy renders as BARE TEXT — no wrapper element at all. A fragment call site with everything disabled is byte-identical to the same JSX with a plain string, which is the golden gate this component is tested against: adopting the SDK must cost nothing when it serves nothing.

Non-static copy gains a span stamped with its provenance.

FragmentTextProps

Element | null