Created
October 11, 2018 07:00
-
-
Save dainelmawer/282b116ceb6f8dbf3a9e497665ea47c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Fragment } from 'react'; | |
import ParentComponent from './ParentComponent'; | |
import ChildComponent from './ChildComponent'; | |
import SiblingComponent from './SiblingComponent'; | |
const MyComponent = () => { | |
return( | |
<Fragment> | |
<ParentComponent> | |
<ChildComponent /> | |
<ChildComponent /> | |
<ChildComponent /> | |
</ParentComponent> | |
<SiblingComponent /> | |
</Fragment> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment