Skip to content

Commit 26622b1

Browse files
authored
Merge pull request #13 from gjvpaet/remove-es-lint-errors
Removed eslint errors.
2 parents d4cdbdc + da14c17 commit 26622b1

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

src/iconExamples.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,28 @@ SOFTWARE.
2424
2525
*/
2626

27-
import React, { Component } from 'react'
27+
import React from 'react';
2828

2929
export const Check = () => (
3030
<svg width="14" height="10" viewBox="0 0 14 11" xmlns="http://www.w3.org/2000/svg">
3131
<title>
3232
switch-check
3333
</title>
34-
<path d="M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0" fill="#fff" fill-rule="evenodd"/>
34+
<path
35+
d="M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0"
36+
fill="#fff" fill-rule="evenodd"
37+
/>
3538
</svg>
36-
)
39+
);
3740

3841
export const X = () => (
3942
<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
4043
<title>
4144
switch-x
4245
</title>
43-
<path d="M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12" fill="#fff" fill-rule="evenodd"/>
46+
<path
47+
d="M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12"
48+
fill="#fff" fill-rule="evenodd"
49+
/>
4450
</svg>
45-
)
51+
);

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import ToggleButton from './react-toggle-button'
1+
import ToggleButton from './react-toggle-button';
22

3-
module.exports = ToggleButton
3+
module.exports = ToggleButton;

0 commit comments

Comments
 (0)