jsonx
    Preparing search index...

    Function compile

    • converts a jsonx json object into a react function component

      Parameters

      • this: Context
      • jsonx: jsonx

        valid JSONX JSON

      • resources: {} = {}

        props for react element

      Returns (props: any) => ReactElementLike

      React element via React.createElement

      jsonx.compile({jsonx:{component:'div',props:{title:'some title attribute'},children:'inner html text'}}) //=>React Function Component