bringapp
    Preparing search index...

    Function createBringElement

    • Creates a React element tree based on the provided BringNodes.

      Type Parameters

      • EP = object
      • SP = object
      • M = object
      • MI = object
      • CTX = object

      Parameters

      • nodes: BringNode[]

        An array of BringNodes representing the elements to be rendered.

      • blockList: BlockList<EP, SP, M, MI, CTX>

        List of Block configs.

      • entityProps: EntityProps<EP>

        Props to be passed to the entity components.

      • siteProps: SiteProps<SP, M, MI>

        Props to be passed to the site components.

      • context: CTX

        Additional context to be passed to the components.

      • PostContent: ReactNode = null

        The ReactNode representing the PostContent component.

      Returns (
          | null
          | string
          | number
          | bigint
          | boolean
          | Element
          | Iterable<ReactNode, any, any>
          | Promise<AwaitedReactNode>
      )[]

      An array of React elements representing the rendered components.