Skip to content

Commit acded8d

Browse files
author
Martin Krulis
committed
Fixing minor issue with class names.
1 parent e7afa8d commit acded8d

File tree

5 files changed

+9
-16
lines changed

5 files changed

+9
-16
lines changed

src/components/forms/Fields/RadioField.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ const RadioField = ({ input, meta: { error, warning }, options }) => {
88
<FormGroup validationState={error ? 'error' : warning ? 'warning' : undefined} controlId={input.name}>
99
{options.map(({ key, name }, idx) => (
1010
<Radio
11-
className={'radio-container'}
11+
className="radio-container"
1212
key={`radio${idx}-${key}`}
1313
name={input.name}
1414
value={key}
1515
checked={input.value === key}
1616
onChange={input.onChange}>
1717
{name}
18-
<span className={'radiomark'}></span>
18+
<span className="radiomark"></span>
1919
</Radio>
2020
))}
2121

src/components/forms/Fields/StandaloneRadioField.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { Field } from 'redux-form';
44

55
const StandaloneRadioField = ({ name, value }) => {
66
return (
7-
<div className={'radio-container'}>
7+
<div className="radio-container">
88
<label>
99
<Field name={name} component="input" type="radio" value={value} />
10-
<span className={'radiomark'}></span>
10+
<span className="radiomark"></span>
1111
</label>
1212
</div>
1313
);

src/components/forms/StandaloneRadioInput/StandaloneRadioInput.js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,10 @@ import PropTypes from 'prop-types';
33

44
const StandaloneRadioInput = ({ name, value, checked, disabled, readOnly }) => {
55
return (
6-
<div className={'radio-container'}>
6+
<div className="radio-container">
77
<label>
8-
<input
9-
type="radio"
10-
name={name}
11-
value={value}
12-
checked={checked}
13-
disabled={disabled}
14-
readOnly={readOnly}
15-
/>
16-
<span className={'radiomark'}></span>
8+
<input type="radio" name={name} value={value} checked={checked} disabled={disabled} readOnly={readOnly} />
9+
<span className="radiomark"></span>
1710
</label>
1811
</div>
1912
);

src/components/widgets/Box/Box.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Box extends Component {
5656
})}>
5757
{children}
5858
</div>
59-
{footer && <div className={'box-footer'}>{footer}</div>}
59+
{footer && <div className="box-footer">{footer}</div>}
6060
</div>
6161
);
6262
}

src/components/widgets/InfoBox/SimpleInfoBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Icon from '../../icons';
44

55
const SimpleInfoBox = ({ title, description = '', icon = 'info', color = 'yellow' }) => (
66
<div className="info-box">
7-
<span className={'info-box-icon bg-' + color}>
7+
<span className={`info-box-icon bg-${color}`}>
88
<Icon icon={icon} />
99
</span>
1010
<div className="info-box-content">

0 commit comments

Comments
 (0)