jsx-no-children-prop
RecommendedFresh
Pass children as JSX children instead of as an attribute.
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>