diff --git a/.eslintrc.json b/.eslintrc.json index 72d0bcc..8a122a7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,7 +3,7 @@ "browser": true, "es2021": true }, - "extends": ["plugin:react/recommended", "airbnb", "prettier"], + "extends": ["plugin:react/recommended", "prettier"], "parserOptions": { "ecmaFeatures": { "jsx": true diff --git a/.prettierrc.json b/.prettierrc.json index f05017f..d32a2a8 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,9 +1,9 @@ { - "tabWidth": 2, - "useTabs": true, - "printWidth": 80, - "semi": true, - "trailingComma": "es5", - "singleQuote": true, - "endOfLine": "lf" + "tabWidth": 2, + "useTabs": false, + "printWidth": 80, + "semi": true, + "trailingComma": "es5", + "singleQuote": true, + "endOfLine": "lf" } \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index a4afb7a..a6f341b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,16 +1,17 @@ import Grid from './Grid'; import MapCol from './MapCol'; import SearchCol from './SearchCol'; +import React from 'react'; function App() { - return ( -
-
-

Find your next epidemiology tools

-
- } second={} /> -
- ); + return ( +
+
+

Find your next epidemiology tools

+
+ } second={} /> +
+ ); } export default App; diff --git a/src/Grid.tsx b/src/Grid.tsx index 9e945b7..b5ad9a4 100644 --- a/src/Grid.tsx +++ b/src/Grid.tsx @@ -1,10 +1,12 @@ +import React from 'react'; + const ResponsiveGrid = ({ first, second }: any) => { - return ( -
-
{first}
-
{second}
-
- ); + return ( +
+
{first}
+
{second}
+
+ ); }; export default ResponsiveGrid; diff --git a/src/MapCol.tsx b/src/MapCol.tsx index 0b25c72..e2ba145 100644 --- a/src/MapCol.tsx +++ b/src/MapCol.tsx @@ -1,5 +1,7 @@ +import React from 'react'; + const MapCol = () => { - return
Column/Row 2
; + return
Column/Row 2
; }; export default MapCol; diff --git a/src/SearchCol.tsx b/src/SearchCol.tsx index 14af2ab..7acb673 100644 --- a/src/SearchCol.tsx +++ b/src/SearchCol.tsx @@ -1,48 +1,50 @@ +import React from 'react'; + const SearchCol = () => { - return ( -
-
- -
-
- -
- - -
-
-
- ); + return ( +
+
+ +
+
+ +
+ + +
+
+
+ ); }; export default SearchCol;