Skip to main content

Function: parseJsx

Const parseJsx(str, ctx?, startPos?): (string | FunctionComponentElement<Object>)[]

Parameters

NameTypeDefault value
strstringundefined
ctxAnonymousObject<any>{}
startPosnumber0

Returns

(string | FunctionComponentElement<Object>)[]

Defined in

onekijs/packages/onekijs-framework/src/utils/jsx.ts:19