File tree Expand file tree Collapse file tree 6 files changed +6
-7
lines changed Expand file tree Collapse file tree 6 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import classnames from 'classnames' ;
3
3
import { themr } from 'react-css-themr' ;
4
4
import PropTypes from 'prop-types' ;
5
- import defaultTheme from './theme.scss' ;
5
+ import defaultTheme from './theme.module. scss' ;
6
6
7
7
class Table extends React . Component {
8
8
state = {
@@ -55,15 +55,15 @@ class Table extends React.Component {
55
55
< span
56
56
className = {
57
57
( isCurrentKey && this . state [ `${ key } Ascending` ] )
58
- ? ' sortedAscending'
58
+ ? theme . sortedAscending
59
59
: null
60
60
}
61
61
onClick = { ( ) => this . sortAscending ( key ) }
62
62
/>
63
63
< span
64
64
className = {
65
65
( isCurrentKey && this . state [ `${ key } Descending` ] )
66
- ? ' sortedDescending'
66
+ ? theme . sortedDescending
67
67
: null
68
68
}
69
69
onClick = { ( ) => this . sortDescending ( key ) }
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import cx from 'classnames' ;
3
3
import { themr } from 'react-css-themr' ;
4
4
import PropTypes from 'prop-types' ;
5
- import defaultTheme from './theme.scss' ;
5
+ import defaultTheme from './theme.module. scss' ;
6
6
7
7
const Toggle = ( {
8
8
label,
@@ -28,7 +28,6 @@ const Toggle = ({
28
28
onClick = { ( ) => onClick ( label , value ) }
29
29
{ ...props }
30
30
/>
31
- < span className = "toggle-item" />
32
31
</ label >
33
32
) ;
34
33
} ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import PropTypes from 'prop-types' ;
3
3
import { themr } from 'react-css-themr' ;
4
4
import classnames from 'classnames' ;
5
- import defaultTheme from './theme.scss' ;
5
+ import defaultTheme from './theme.module. scss' ;
6
6
7
7
class Tooltip extends React . Component {
8
8
state = { tooltipActive : false } ;
@@ -43,7 +43,7 @@ class Tooltip extends React.Component {
43
43
{
44
44
this . state . tooltipActive && (
45
45
< div className = { theme . tip } id = "tip" >
46
- < div className = { classnames ( theme . tooltipContent , { top } ) } >
46
+ < div className = { classnames ( theme . tooltipContent , { [ theme . top ] : top } ) } >
47
47
{ tooltipText }
48
48
</ div >
49
49
</ div >
File renamed without changes.
You can’t perform that action at this time.
0 commit comments