File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed
src/client/src/pages/DataView360/View/components Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -2,36 +2,24 @@ import React from 'react';
2
2
import {
3
3
Typography ,
4
4
} from '@material-ui/core' ;
5
- import { makeStyles , withStyles } from '@material-ui/core/styles' ;
6
5
import Grid from "@material-ui/core/Grid" ;
7
6
8
7
9
- const customStyles = makeStyles ( {
10
- spaceIcon : {
11
- marginTop : 3 ,
12
- marginRight : 3
13
- } ,
14
- headerCell : {
15
- fontWeight : "bold"
16
- } ,
17
- } ) ;
18
-
19
8
function DataTableHeader ( props ) {
20
- const classes = customStyles ( ) ;
21
9
const { headerText, emojiIcon } = props ;
22
10
return (
23
11
< Typography variant = 'h5' >
24
12
< Grid container style = { { "margin" : "0.5em" } } direction = { 'row' } >
25
- < Grid item className = { classes . spaceIcon } >
26
- { emojiIcon }
13
+ < Grid item style = { { "marginTop" : "3" , "marginRight" : "3" } } >
14
+ { emojiIcon }
27
15
</ Grid >
28
16
< Grid item >
29
- { headerText }
17
+ { headerText }
30
18
</ Grid >
31
- { props . children }
19
+ { props . children }
32
20
</ Grid >
33
21
</ Typography >
34
22
) ;
35
23
}
36
24
37
- export default withStyles ( customStyles ) ( DataTableHeader ) ;
25
+ export default DataTableHeader ;
You can’t perform that action at this time.
0 commit comments