Dodaj tekst wewnątrz komponentu React
function Container({children})
{
return(
<b>
{children}
</b>
)
}
/*With {children}, you can now write <Container>Hello World </Container> and it will be the same as <b> Hello World</b>*/
Javasper