Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead in React/ant design [antd]

// only have one child ! 
// It's like, React JSX should only have one root component returned.

<Affix>
    <div>
        <div>...1</div>
        <div>...2</div>
    </div>
</Affix>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Find #child #node #Please #design
ADD COMMENT
Topic
Name
4+9 =