File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import React, { Component } from 'react';
2
2
import Menu from './Menu' ;
3
3
4
4
const style = {
5
- height : '300px' ,
6
- width : '300px' ,
5
+ height : 300 ,
6
+ width : 300 ,
7
7
background : '#e02d42' ,
8
- padding : '12px' ,
8
+ padding : 12 ,
9
9
color : 'white' ,
10
10
textAlign : 'center'
11
11
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import Tooltip from './Tooltip';
4
4
class App extends Component {
5
5
render ( ) {
6
6
return (
7
- < div style = { { fontSize : '20px' , color : '#555' , margin : '60px' } } >
7
+ < div style = { { fontSize : 20 , color : '#555' , margin : 60 } } >
8
8
< span > THAT'S NO </ span >
9
9
< Tooltip tiptext = "DEATH STAR" >
10
10
< span style = { { color : '#a0a0a0' } } > MOON</ span >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class App extends Component {
16
16
const { floating } = this . state ;
17
17
18
18
return (
19
- < div style = { { width : '400px' , height : '400px' , position : 'relative' } } >
19
+ < div style = { { width : 400 , height : 400 , position : 'relative' } } >
20
20
< button onClick = { this . showFloating } > Show Floating</ button >
21
21
< Floating modal show = { floating } viewport closeOnModalClick >
22
22
< div className = "modal-msg" >
You can’t perform that action at this time.
0 commit comments