Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SPP 2143 Learning Through Connecting
ltc_website
Commits
b82467d3
Commit
b82467d3
authored
Nov 27, 2019
by
amarcic
Browse files
added explaining comments to index.js in components folder
parent
43e5ccba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/index.js
View file @
b82467d3
//this index.js exports all components from the sub folders
//by doing this all components can be imported from './components/';
//named exports are used instead of default export; thus imports need to be destructured
export
{
HelloComputerButton
}
from
'
./HelloComputerButton/HelloComputerButton
'
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment