Skip to content

Commit

Permalink
feat(constants): add Urls
Browse files Browse the repository at this point in the history
  • Loading branch information
aneurysmjs committed Jan 2, 2018
1 parent aaa65ed commit 3335154
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/components/RmSearcher/__snapshots__/RmSearcher.spec.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Searcher snapshot test 1`] = `
<div
className="row justify-content-center"
>
<div
className="col-xs-12 col-sm-12 col-md-12"
>
<form
name="searcher"
onSubmit={[Function]}
>
<div
className="form-group"
>
<label
className="sr-only"
htmlFor="searcher"
>
Just type
</label>
<input
className="form-control"
id="searcher"
name="searcher"
onChange={[Function]}
placeholder="Type..."
type="text"
/>
</div>
</form>
</div>
</div>
`;
1 change: 1 addition & 0 deletions src/constants/Urls.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default COUNTRIES = 'https://restcountries.eu/rest/v2';

0 comments on commit 3335154

Please sign in to comment.