Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from hanbyul-here/hanb/arrange
update/refactor components
- Loading branch information
Showing
57 changed files
with
882 additions
and
1,860 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
app/libs/* | ||
app/scss/* | ||
app/Components/TileExporter/MapSpells.js |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"plugins": ["react", "import"], | ||
"extends": ["airbnb", "plugin:import/errors", "plugin:import/warnings"], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"comma-dangle": ["error", "never"], | ||
"no-underscore-dangle": 0 | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React from 'react'; | ||
import { render } from 'react-dom'; | ||
|
||
import Keys from './Keys'; | ||
import SearchBox from './Components/Search/SearchBox'; | ||
|
||
import TileExporter from './Components/TileExporter/Exporter'; | ||
|
||
require('./scss/main.scss'); | ||
|
||
// Tile Exporter is not written as React Component | ||
const exporter = new TileExporter(); | ||
exporter.attachEvents(); | ||
|
||
const searchConfig = { | ||
placeholder: 'Search address or or place', | ||
childClass: 'searchBox', | ||
key: Keys.search | ||
}; | ||
|
||
function SearchBoxWrapper() { | ||
return ( | ||
<div className="row"> | ||
<div className="col-md-12"> | ||
<SearchBox config={searchConfig} /> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
render(<SearchBoxWrapper />, document.getElementById('search-bar')); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.