jsx-no-children-prop
Last updated: Jan 16, 2025
Pass children as JSX children instead of as an attribute.
Invalid:
<div children="foo" />
<div children={[<Foo />, <Bar />]} />
Valid:
<div>foo</div>
<div><Foo /><Bar /></div>