In my React/Typescript project, I need a Component, lets call that A (it is a functional component), which is simply a wrapper component and needs to accept and display two components that I have made (lets call them B and C) so that A can be used as the following:
<A>
<B/>
<C/>
</A>
I need to ensure that only B and C are passed as children of A and nothing else.
How can I achieve this in typescript?