File tree Expand file tree Collapse file tree 1 file changed +32
-16
lines changed
image-finder-app/src/Components Expand file tree Collapse file tree 1 file changed +32
-16
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
- import { AppBar , Toolbar , Typography , makeStyles } from '@material-ui/core'
2
+ import {
3
+ AppBar ,
4
+ Toolbar ,
5
+ Typography ,
6
+ makeStyles
7
+ } from '@material-ui/core'
3
8
import CollectionsIcon from '@material-ui/icons/Collections' ;
4
9
5
- const useStyle = makeStyles ( {
6
- component : {
7
- backgroundColor : '#445A6F' ,
8
- }
10
+ const useStyle = makeStyles ( {
11
+ component : {
12
+ backgroundColor : '#445A6F' ,
13
+ }
9
14
} )
10
15
11
16
const Navbar = ( ) => {
12
- const classes = useStyle ( ) ;
13
- return (
14
- < AppBar className = { classes . component } position = 'static' >
15
- < Toolbar >
16
- < CollectionsIcon />
17
- < Typography variant = "h5" style = { { marginLeft : 10 } } >
18
- Image Finder
19
- </ Typography >
20
- </ Toolbar >
21
- </ AppBar >
22
- )
17
+ const classes = useStyle ( ) ;
18
+ return ( <
19
+ AppBar className = {
20
+ classes . component
21
+ }
22
+ position = 'static' >
23
+ <
24
+ Toolbar >
25
+ <
26
+ CollectionsIcon / >
27
+ <
28
+ Typography variant = "h5"
29
+ style = {
30
+ {
31
+ marginLeft : 10
32
+ }
33
+ } >
34
+ Image Finder
35
+ </ Typography >
36
+ </ Toolbar >
37
+ </ AppBar >
38
+ )
23
39
}
24
40
25
41
export default Navbar
You can’t perform that action at this time.
0 commit comments