@pie-lib/icons 2.4.23 → 2.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/icons",
3
- "version": "2.4.23",
3
+ "version": "2.4.26",
4
4
  "description": "Some simple icons",
5
5
  "main": "lib/index.js",
6
6
  "module": "src/index.js",
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "e6de0d62291ecfdeb3a62b988c526d97ee41eaa6"
27
+ "gitHead": "f81076118e63884db5f5d65a41cff9aad111137e"
28
28
  }
@@ -19,11 +19,11 @@ const Emoji = ({ className }) => (
19
19
  );
20
20
 
21
21
  Emoji.propTypes = {
22
- className: PropTypes.string
22
+ className: PropTypes.string,
23
23
  };
24
24
 
25
25
  Emoji.defaultProps = {
26
- x: 0
26
+ x: 0,
27
27
  };
28
28
 
29
29
  const Check = ({ className, x, y }) => (
@@ -37,12 +37,12 @@ const Check = ({ className, x, y }) => (
37
37
  Check.propTypes = {
38
38
  x: PropTypes.number,
39
39
  y: PropTypes.number,
40
- className: PropTypes.string
40
+ className: PropTypes.string,
41
41
  };
42
42
 
43
43
  Check.defaultProps = {
44
44
  x: 0,
45
- y: 0
45
+ y: 0,
46
46
  };
47
47
 
48
48
  export const Correct = IconBase(Check, Emoji);
@@ -51,14 +51,14 @@ Correct.propTypes = {
51
51
  iconSet: PropTypes.oneOf(['emoji', 'check']),
52
52
  shape: PropTypes.oneOf(['round', 'square']),
53
53
  category: PropTypes.oneOf(['feedback', undefined]),
54
- open: PropTypes.bool
54
+ open: PropTypes.bool,
55
55
  };
56
56
 
57
57
  Correct.defaultProps = {
58
58
  iconSet: 'check',
59
59
  shape: 'round',
60
60
  category: undefined,
61
- open: false
61
+ open: false,
62
62
  };
63
63
 
64
64
  export default withStyles(styles)(Correct);
@@ -28,7 +28,7 @@ const OpenIcon = ({ bg, fg }) => (
28
28
 
29
29
  OpenIcon.propTypes = {
30
30
  bg: PropTypes.string,
31
- fg: PropTypes.string
31
+ fg: PropTypes.string,
32
32
  };
33
33
 
34
34
  const CloseIcon = ({ bg, fg, border }) => (
@@ -45,7 +45,7 @@ const CloseIcon = ({ bg, fg, border }) => (
45
45
  fill: '#D0CAC5',
46
46
  stroke: '#E6E3E0',
47
47
  strokeWidth: 0.75,
48
- strokeMiterlimit: 10
48
+ strokeMiterlimit: 10,
49
49
  }}
50
50
  d="M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5
51
51
  C-97.4,153.5-104.3,160.4-112.9,160.4z"
@@ -55,7 +55,7 @@ const CloseIcon = ({ bg, fg, border }) => (
55
55
  fill: '#B3ABA4',
56
56
  stroke: '#CDC7C2',
57
57
  strokeWidth: 0.5,
58
- strokeMiterlimit: 10
58
+ strokeMiterlimit: 10,
59
59
  }}
60
60
  d="M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z"
61
61
  />
@@ -65,39 +65,36 @@ const CloseIcon = ({ bg, fg, border }) => (
65
65
  d="M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z
66
66
  M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z"
67
67
  />
68
- <polygon
69
- className={fg}
70
- points="-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2"
71
- />
68
+ <polygon className={fg} points="-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2" />
72
69
  </svg>
73
70
  );
74
71
 
75
72
  CloseIcon.propTypes = {
76
73
  bg: PropTypes.string,
77
74
  fg: PropTypes.string,
78
- border: PropTypes.string
75
+ border: PropTypes.string,
79
76
  };
80
77
 
81
78
  const styles = {
82
79
  root: {
83
- width: props => props.size || '25px',
84
- height: props => props.size || '25px'
80
+ width: (props) => props.size || '25px',
81
+ height: (props) => props.size || '25px',
85
82
  },
86
83
  hideIconBg: {
87
- fill: '#bce2ff'
84
+ fill: '#bce2ff',
88
85
  },
89
86
  hideIconFg: {
90
- fill: '#1a9cff'
87
+ fill: '#1a9cff',
91
88
  },
92
89
  showIconBg: {
93
- fill: 'white'
90
+ fill: 'white',
94
91
  },
95
92
  showIconFg: {
96
- fill: '#1a9cff'
93
+ fill: '#1a9cff',
97
94
  },
98
95
  showIconBorder: {
99
- fill: '#bce2ff'
100
- }
96
+ fill: '#bce2ff',
97
+ },
101
98
  };
102
99
 
103
100
  const CorrectResponse = ({ open, classes, className }) => (
@@ -114,11 +111,11 @@ CorrectResponse.propTypes = {
114
111
  classes: PropTypes.object.isRequired,
115
112
  open: PropTypes.bool,
116
113
  size: PropTypes.string,
117
- className: PropTypes.string
114
+ className: PropTypes.string,
118
115
  };
119
116
 
120
117
  CorrectResponse.defaultProps = {
121
- open: false
118
+ open: false,
122
119
  };
123
120
 
124
121
  export default withStyles(styles)(CorrectResponse);
package/src/icon-base.jsx CHANGED
@@ -7,7 +7,7 @@ export default (Action, Emoji) => {
7
7
  class IconBase extends React.Component {
8
8
  static propTypes = {
9
9
  classes: PropTypes.object.isRequired,
10
- size: PropTypes.number
10
+ size: PropTypes.number,
11
11
  };
12
12
  constructor(props) {
13
13
  super(props);
@@ -38,8 +38,8 @@ export default (Action, Emoji) => {
38
38
  <IconRoot size={size}>
39
39
  <Emoji className={classes.bg} />
40
40
  </IconRoot>
41
- )
42
- }
41
+ ),
42
+ },
43
43
  },
44
44
  square: {
45
45
  check: (
@@ -64,9 +64,9 @@ export default (Action, Emoji) => {
64
64
  <IconRoot size={size}>
65
65
  <Emoji className={classes.bg} />
66
66
  </IconRoot>
67
- )
68
- }
69
- }
67
+ ),
68
+ },
69
+ },
70
70
  },
71
71
  round: {
72
72
  check: (
@@ -91,8 +91,8 @@ export default (Action, Emoji) => {
91
91
  <IconRoot size={size}>
92
92
  <Emoji className={classes.bg} />
93
93
  </IconRoot>
94
- )
95
- }
94
+ ),
95
+ },
96
96
  },
97
97
  square: {
98
98
  check: (
@@ -117,9 +117,9 @@ export default (Action, Emoji) => {
117
117
  <IconRoot size={size}>
118
118
  <Emoji className={classes.bg} />
119
119
  </IconRoot>
120
- )
121
- }
122
- }
120
+ ),
121
+ },
122
+ },
123
123
  };
124
124
  }
125
125
 
@@ -144,14 +144,14 @@ export default (Action, Emoji) => {
144
144
  iconSet: PropTypes.oneOf(['emoji', 'check']),
145
145
  shape: PropTypes.oneOf(['round', 'square']),
146
146
  category: PropTypes.oneOf(['feedback', undefined]),
147
- open: PropTypes.bool
147
+ open: PropTypes.bool,
148
148
  };
149
149
 
150
150
  IconBase.defaultProps = {
151
151
  iconSet: 'check',
152
152
  shape: 'round',
153
153
  category: undefined,
154
- open: false
154
+ open: false,
155
155
  };
156
156
 
157
157
  return IconBase;
package/src/icon-root.jsx CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import Sized from './sized';
4
4
 
5
- export const normalizeSize = size => {
5
+ export const normalizeSize = (size) => {
6
6
  return typeof size === 'string' ? size : typeof size === 'number' ? `${size}px` : '30px';
7
7
  };
8
8
 
@@ -24,38 +24,31 @@ export const IconRoot = ({ size, children }) => (
24
24
 
25
25
  IconRoot.propTypes = {
26
26
  size: PropTypes.oneOf([PropTypes.string, PropTypes.number]),
27
- children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired
27
+ children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,
28
28
  };
29
29
 
30
30
  export const getStyles = (name, fg, bg) => ({
31
31
  bg: {
32
- fill: `var(--icons-${name}-bg, ${bg})`
32
+ fill: `var(--icons-${name}-bg, ${bg})`,
33
33
  },
34
34
  fg: {
35
- fill: `var(--icons-${name}-fg, ${fg})`
36
- }
35
+ fill: `var(--icons-${name}-fg, ${fg})`,
36
+ },
37
37
  });
38
38
 
39
39
  export const Tick = ({ className }) => (
40
- <polygon
41
- className={className}
42
- points="17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7"
43
- />
40
+ <polygon className={className} points="17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7" />
44
41
  );
45
42
 
46
43
  Tick.propTypes = {
47
- className: PropTypes.string
44
+ className: PropTypes.string,
48
45
  };
49
46
 
50
47
  export const SquareFeedbackBox = ({ className }) => (
51
- <polygon
52
- transform="translate(2, 0)"
53
- className={className}
54
- points="34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3"
55
- />
48
+ <polygon transform="translate(2, 0)" className={className} points="34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3" />
56
49
  );
57
50
  SquareFeedbackBox.propTypes = {
58
- className: PropTypes.string
51
+ className: PropTypes.string,
59
52
  };
60
53
 
61
54
  export const RoundFeedbackBox = ({ className }) => (
@@ -66,7 +59,7 @@ export const RoundFeedbackBox = ({ className }) => (
66
59
  />
67
60
  );
68
61
  RoundFeedbackBox.propTypes = {
69
- className: PropTypes.string
62
+ className: PropTypes.string,
70
63
  };
71
64
 
72
65
  export const Circle = ({ className }) => (
@@ -74,12 +67,10 @@ export const Circle = ({ className }) => (
74
67
  );
75
68
 
76
69
  Circle.propTypes = {
77
- className: PropTypes.string
70
+ className: PropTypes.string,
78
71
  };
79
72
 
80
- export const Square = ({ className }) => (
81
- <rect x="3.6" y="4.1" className={className} width="32" height="32" />
82
- );
73
+ export const Square = ({ className }) => <rect x="3.6" y="4.1" className={className} width="32" height="32" />;
83
74
  Square.propTypes = {
84
- className: PropTypes.string
75
+ className: PropTypes.string,
85
76
  };
@@ -26,7 +26,7 @@ const Ex = ({ className }) => (
26
26
  );
27
27
 
28
28
  Ex.propTypes = {
29
- className: PropTypes.string
29
+ className: PropTypes.string,
30
30
  };
31
31
  const Emoji = ({ className }) => (
32
32
  <g transform={'translate(1,0)'}>
@@ -37,7 +37,7 @@ const Emoji = ({ className }) => (
37
37
  );
38
38
 
39
39
  Emoji.propTypes = {
40
- className: PropTypes.string
40
+ className: PropTypes.string,
41
41
  };
42
42
 
43
43
  const styles = getStyles('incorrect', '#fbf2e3', '#fcb733');
@@ -50,12 +50,12 @@ Incorrect.propTypes = {
50
50
  iconSet: PropTypes.oneOf(['emoji', 'check']),
51
51
  shape: PropTypes.oneOf(['round', 'square']),
52
52
  category: PropTypes.oneOf(['feedback', undefined]),
53
- open: PropTypes.bool
53
+ open: PropTypes.bool,
54
54
  };
55
55
 
56
56
  Incorrect.defaultProps = {
57
57
  iconSet: 'check',
58
58
  shape: 'round',
59
59
  category: undefined,
60
- open: false
60
+ open: false,
61
61
  };
package/src/index.js CHANGED
@@ -15,5 +15,5 @@ export {
15
15
  LearnMore,
16
16
  NothingSubmitted,
17
17
  PartiallyCorrect,
18
- ShowRationale
18
+ ShowRationale,
19
19
  };
@@ -6,7 +6,7 @@ const Lines = () => {
6
6
  fill: 'none',
7
7
  stroke: '#BCE2FF',
8
8
  strokeWidth: 2,
9
- strokeMiterlimit: 10
9
+ strokeMiterlimit: 10,
10
10
  };
11
11
 
12
12
  return (
@@ -28,7 +28,7 @@ const Root = ({ children, size }) => (
28
28
 
29
29
  Root.propTypes = {
30
30
  children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,
31
- size: PropTypes.number
31
+ size: PropTypes.number,
32
32
  };
33
33
 
34
34
  const GreyInfo = () => {
@@ -42,7 +42,7 @@ const GreyInfo = () => {
42
42
  stroke: '#E6E3E0',
43
43
  strokeWidth: 0.75,
44
44
  strokeLinejoin: 'round',
45
- strokeMiterlimit: 10
45
+ strokeMiterlimit: 10,
46
46
  }}
47
47
  width="4.1"
48
48
  height="4.1"
@@ -53,7 +53,7 @@ const GreyInfo = () => {
53
53
  stroke: '#E6E3E0',
54
54
  strokeWidth: 0.75,
55
55
  strokeLinejoin: 'round',
56
- strokeMiterlimit: 10
56
+ strokeMiterlimit: 10,
57
57
  }}
58
58
  points="-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4
59
59
  -125.6,153.2 -116.8,153.2 -116.8,150.4 "
@@ -67,7 +67,7 @@ const GreyInfo = () => {
67
67
  strokeWidth: 0.5,
68
68
  strokeLinecap: 'round',
69
69
  strokeLinejoin: 'round',
70
- strokeMiterlimit: 10
70
+ strokeMiterlimit: 10,
71
71
  }}
72
72
  width="4.1"
73
73
  height="4.1"
@@ -80,7 +80,7 @@ const GreyInfo = () => {
80
80
  strokeWidth: 0.5,
81
81
  strokeLinecap: 'round',
82
82
  strokeLinejoin: 'round',
83
- strokeMiterlimit: 10
83
+ strokeMiterlimit: 10,
84
84
  }}
85
85
  points="-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8
86
86
  -126.4,152.5 -117.6,152.5 -117.6,149.8 "
@@ -105,7 +105,7 @@ const BlueInfo = () => (
105
105
  stroke: '#E6E3E0',
106
106
  strokeWidth: 0.75,
107
107
  strokeLinejoin: 'round',
108
- strokeMiterlimit: 10
108
+ strokeMiterlimit: 10,
109
109
  }}
110
110
  width="4.1"
111
111
  height="4.1"
@@ -116,7 +116,7 @@ const BlueInfo = () => (
116
116
  stroke: '#E6E3E0',
117
117
  strokeWidth: 0.75,
118
118
  strokeLinejoin: 'round',
119
- strokeMiterlimit: 10
119
+ strokeMiterlimit: 10,
120
120
  }}
121
121
  points="-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4
122
122
  -125.6,153.2 -116.8,153.2 -116.8,150.4 "
@@ -130,7 +130,7 @@ const BlueInfo = () => (
130
130
  strokeWidth: 0.5,
131
131
  strokeLinecap: 'round',
132
132
  strokeLinejoin: 'round',
133
- strokeMiterlimit: 10
133
+ strokeMiterlimit: 10,
134
134
  }}
135
135
  width="4.1"
136
136
  height="4.1"
@@ -142,7 +142,7 @@ const BlueInfo = () => (
142
142
  strokeWidth: 0.5,
143
143
  strokeLinecap: 'round',
144
144
  strokeLinejoin: 'round',
145
- strokeMiterlimit: 10
145
+ strokeMiterlimit: 10,
146
146
  }}
147
147
  points="-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8
148
148
  -126.4,152.5 -117.6,152.5 -117.6,149.8 "
@@ -181,9 +181,9 @@ export default class Instructions extends React.Component {
181
181
  }
182
182
 
183
183
  Instructions.propTypes = {
184
- open: PropTypes.bool
184
+ open: PropTypes.bool,
185
185
  };
186
186
 
187
187
  Instructions.defaultProps = {
188
- open: false
188
+ open: false,
189
189
  };
@@ -11,13 +11,13 @@ const Glint = ({ fill }) => (
11
11
  );
12
12
 
13
13
  Glint.propTypes = {
14
- fill: PropTypes.string
14
+ fill: PropTypes.string,
15
15
  };
16
16
 
17
17
  export class LearnMore extends React.Component {
18
18
  static propTypes = {
19
19
  classes: PropTypes.object.isRequired,
20
- size: PropTypes.number
20
+ size: PropTypes.number,
21
21
  };
22
22
 
23
23
  render() {
@@ -86,22 +86,22 @@ export class LearnMore extends React.Component {
86
86
 
87
87
  const styles = {
88
88
  showBg: {
89
- fill: '#1a9cff'
89
+ fill: '#1a9cff',
90
90
  },
91
91
  hideFg: {
92
- fill: '#1a9cff'
92
+ fill: '#1a9cff',
93
93
  },
94
94
  hideBg: {
95
- fill: '#bce2ff'
96
- }
95
+ fill: '#bce2ff',
96
+ },
97
97
  };
98
98
 
99
99
  LearnMore.propTypes = {
100
- open: PropTypes.bool
100
+ open: PropTypes.bool,
101
101
  };
102
102
 
103
103
  LearnMore.defaultProps = {
104
- open: false
104
+ open: false,
105
105
  };
106
106
 
107
107
  export default withStyles(styles)(LearnMore);
@@ -12,10 +12,7 @@ const Exclamation = ({ className }) => (
12
12
  );
13
13
 
14
14
  const Octagon = ({ className }) => (
15
- <polygon
16
- className={className}
17
- points="14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5"
18
- />
15
+ <polygon className={className} points="14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5" />
19
16
  );
20
17
 
21
18
  const Emoji = ({ className }) => (
@@ -31,13 +28,13 @@ const Emoji = ({ className }) => (
31
28
  );
32
29
 
33
30
  Emoji.propTypes = Octagon.propTypes = Exclamation.propTypes = {
34
- className: PropTypes.string
31
+ className: PropTypes.string,
35
32
  };
36
33
  const styles = getStyles('nothing-submitted', 'white', '#464146');
37
34
 
38
35
  export class NothingSubmitted extends React.Component {
39
36
  static propTypes = {
40
- classes: PropTypes.object.isRequired
37
+ classes: PropTypes.object.isRequired,
41
38
  };
42
39
 
43
40
  constructor(props) {
@@ -92,10 +89,10 @@ export class NothingSubmitted extends React.Component {
92
89
  <IconRoot>
93
90
  <Emoji className={classes.bg} />
94
91
  </IconRoot>
95
- )
96
- }
97
- }
98
- }
92
+ ),
93
+ },
94
+ },
95
+ },
99
96
  };
100
97
  }
101
98
 
@@ -120,14 +117,14 @@ NothingSubmitted.propTypes = {
120
117
  iconSet: PropTypes.oneOf(['emoji', 'check', undefined]),
121
118
  shape: PropTypes.oneOf(['square', undefined]),
122
119
  category: PropTypes.oneOf(['feedback', undefined]),
123
- open: PropTypes.bool
120
+ open: PropTypes.bool,
124
121
  };
125
122
 
126
123
  NothingSubmitted.defaultProps = {
127
124
  iconSet: 'check',
128
125
  shape: undefined,
129
126
  category: undefined,
130
- open: false
127
+ open: false,
131
128
  };
132
129
 
133
130
  export default withStyles(styles)(NothingSubmitted);
@@ -36,14 +36,14 @@ PartiallyCorrect.propTypes = {
36
36
  iconSet: PropTypes.oneOf(['emoji', 'check']),
37
37
  shape: PropTypes.oneOf(['round', 'square']),
38
38
  category: PropTypes.oneOf(['feedback', undefined]),
39
- open: PropTypes.bool
39
+ open: PropTypes.bool,
40
40
  };
41
41
 
42
42
  PartiallyCorrect.defaultProps = {
43
43
  iconSet: 'check',
44
44
  shape: 'round',
45
45
  category: undefined,
46
- open: false
46
+ open: false,
47
47
  };
48
48
 
49
49
  export default withStyles(styles)(PartiallyCorrect);
@@ -14,7 +14,7 @@ const Info = ({ fg }) => (
14
14
  );
15
15
 
16
16
  Info.propTypes = {
17
- fg: PropTypes.string
17
+ fg: PropTypes.string,
18
18
  };
19
19
 
20
20
  const Border = ({ className }) => (
@@ -24,7 +24,7 @@ const Border = ({ className }) => (
24
24
  />
25
25
  );
26
26
  Border.propTypes = {
27
- className: PropTypes.string
27
+ className: PropTypes.string,
28
28
  };
29
29
  const Circle = () => (
30
30
  <g>
@@ -33,7 +33,7 @@ const Circle = () => (
33
33
  fill: '#D0CAC5',
34
34
  stroke: '#E6E3E0',
35
35
  strokeWidth: 0.75,
36
- strokeMiterlimit: 10
36
+ strokeMiterlimit: 10,
37
37
  }}
38
38
  d="M-111.7,160.9c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5C-96.2,154-103.1,160.9-111.7,160.9z"
39
39
  />
@@ -42,7 +42,7 @@ const Circle = () => (
42
42
  fill: '#B3ABA4',
43
43
  stroke: '#CDC7C2',
44
44
  strokeWidth: 0.5,
45
- strokeMiterlimit: 10
45
+ strokeMiterlimit: 10,
46
46
  }}
47
47
  d="M-112,159.5c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-104,159.5-112,159.5z"
48
48
  />
@@ -56,7 +56,7 @@ const Root = ({ children, size }) => {
56
56
  height: size,
57
57
  width: size,
58
58
  display: 'inline-block',
59
- position: 'relative'
59
+ position: 'relative',
60
60
  };
61
61
 
62
62
  return (
@@ -69,27 +69,27 @@ const Root = ({ children, size }) => {
69
69
  };
70
70
  Root.propTypes = {
71
71
  children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,
72
- size: PropTypes.number
72
+ size: PropTypes.number,
73
73
  };
74
74
 
75
75
  const styles = {
76
76
  fg: {
77
- fill: '#1a9cff'
77
+ fill: '#1a9cff',
78
78
  },
79
79
  bg: {
80
- fill: '#bce2ff'
80
+ fill: '#bce2ff',
81
81
  },
82
82
  border: {
83
- fill: '#bbe3fd'
83
+ fill: '#bbe3fd',
84
84
  },
85
85
  whiteBorder: {
86
- fill: 'white'
87
- }
86
+ fill: 'white',
87
+ },
88
88
  };
89
89
 
90
90
  export class ShowRationale extends React.Component {
91
91
  static propTypes = {
92
- classes: PropTypes.object.isRequired
92
+ classes: PropTypes.object.isRequired,
93
93
  };
94
94
 
95
95
  constructor(props) {
@@ -127,8 +127,8 @@ export class ShowRationale extends React.Component {
127
127
  <circle style={{ fill: '#FFFFFF' }} cx="-113" cy="144" r="14" />
128
128
  <Info fg={classes.bg} border={classes.border} />
129
129
  </Root>
130
- )
131
- }
130
+ ),
131
+ },
132
132
  };
133
133
 
134
134
  if (this.props.open === true) {
@@ -141,12 +141,12 @@ export class ShowRationale extends React.Component {
141
141
 
142
142
  ShowRationale.propTypes = {
143
143
  iconSet: PropTypes.oneOf(['emoji', 'check']),
144
- open: PropTypes.bool
144
+ open: PropTypes.bool,
145
145
  };
146
146
 
147
147
  ShowRationale.defaultProps = {
148
148
  iconSet: 'check',
149
- open: false
149
+ open: false,
150
150
  };
151
151
 
152
152
  export default withStyles(styles)(ShowRationale);