Select Git revision
Forked from
javascript / intro-react
37 commits behind the upstream repository.
-
Jean-Christophe authoredJean-Christophe authored
second.jsx 432 B
// import some other component
import First from './first.jsx';
/* define a stateless React component
* It uses another defined component, here First.
*/
const Second =
() =>
<div>
<h3>Second React component that uses another React component</h3>
<p>below comes a <code>First</code> component : </p>
<First />
</div>
export default Second;