Created
February 19, 2020 17:57
-
-
Save victorcrbt/81564de8c55eb1f990ea5f5534422811 to your computer and use it in GitHub Desktop.
Root Import Finalizado
This file contains hidden or 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 from 'react'; | |
import './App.css'; | |
import User from '~/components/User'; | |
function App() { | |
return ( | |
<User /> | |
); | |
} | |
export default App; |
This file contains hidden or 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 from 'react'; | |
import name from '#redux/user/index'; | |
export default function User() { | |
return ( | |
<li> | |
{name} | |
, 24 | |
</li> | |
); | |
} |
This file contains hidden or 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
const name = 'Victor'; | |
export default name; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment