Hex Core JS
    Preparing search index...

    Type Alias NonTextNodeChildrenProps

    Contains the children property but does not allow for text nodes (strings or numbers). Useful for cases where text nodes are not allowed.

    A common case is with conditional rendering of content, where conditional rendering of text nodes causes errors when browser translation is enabled. See https://github.com/facebook/react/issues/11538#issuecomment-390386520 for details.

    type NonTextNodeChildrenProps = {
        children: NonTextNode;
    }
    Index

    Properties

    Properties

    children: NonTextNode