This repository was archived by the owner on Oct 20, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +41
-5
lines changed
src/components/icon/icons Expand file tree Collapse file tree 3 files changed +41
-5
lines changed Original file line number Diff line number Diff line change
1
+ import PropTypes from 'prop-types' ;
2
+ import React from 'react' ;
3
+ import Icon from '../icon' ;
4
+
5
+ export default function ChevronDownMedium ( {
6
+ fill,
7
+ style : styleProp ,
8
+ ...rest // eslint-disable-line comma-dangle
9
+ } ) {
10
+ const style = {
11
+ ...styleProp ,
12
+ ...Icon . defaultProps . style ,
13
+ } ;
14
+ return (
15
+ < svg style = { style } { ...rest } >
16
+ < path
17
+ d = "M14 .0814404l1.414214 1.3889597L7.707107 9.03988 0 1.4704001 1.414214.0814404l6.292893 6.1805201z"
18
+ fill = { fill }
19
+ fillRule = "nonzero"
20
+ />
21
+ </ svg >
22
+ ) ;
23
+ }
24
+
25
+ ChevronDownMedium . propTypes = {
26
+ ...Icon . propTypes ,
27
+ fill : PropTypes . string ,
28
+ } ;
29
+
30
+ ChevronDownMedium . defaultProps = {
31
+ ...Icon . defaultProps ,
32
+ viewBox : '0 0 16 9' ,
33
+ } ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
2
2
import React from 'react' ;
3
3
import Icon from '../icon' ;
4
4
5
- export default function ThickArrowDown ( {
5
+ export default function ChevronDownThick ( {
6
6
fill,
7
7
style : styleProp ,
8
8
...rest // eslint-disable-line comma-dangle
@@ -22,12 +22,12 @@ export default function ThickArrowDown({
22
22
) ;
23
23
}
24
24
25
- ThickArrowDown . propTypes = {
25
+ ChevronDownThick . propTypes = {
26
26
...Icon . propTypes ,
27
27
fill : PropTypes . string ,
28
28
} ;
29
29
30
- ThickArrowDown . defaultProps = {
30
+ ChevronDownThick . defaultProps = {
31
31
...Icon . defaultProps ,
32
32
viewBox : '0 0 9 6' ,
33
33
} ;
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ import Cart from './cart';
19
19
import Checkmark from './checkmark' ;
20
20
import CheckmarkLarge from './checkmarkLarge' ;
21
21
import ChevronDown from './chevronDown' ;
22
+ import ChevronDownMedium from './chevronDownMedium' ;
23
+ import ChevronDownThick from './chevronDownThick' ;
22
24
import ChevronUp from './chevronUp' ;
23
25
import CircleArrow from './circleArrow' ;
24
26
import CircleSlash from './circleSlash' ;
@@ -87,7 +89,6 @@ import SolidArrowUp from './solidArrowUp';
87
89
import Star from './star' ;
88
90
import Tag from './tag' ;
89
91
import TickingClock from './tickingClock' ;
90
- import ThickArrowDown from './thickArrowDown' ;
91
92
import Trash from './trash' ;
92
93
import VerticalEllipsis from './verticalEllipsis' ;
93
94
@@ -113,6 +114,8 @@ const Icon = {
113
114
Checkmark,
114
115
CheckmarkLarge,
115
116
ChevronDown,
117
+ ChevronDownMedium,
118
+ ChevronDownThick,
116
119
ChevronUp,
117
120
CircleArrow,
118
121
CircleSlash,
@@ -180,7 +183,7 @@ const Icon = {
180
183
SolidArrowUp,
181
184
Star,
182
185
Tag,
183
- ThickArrowDown,
186
+ ThickArrowDown : ChevronDownThick ,
184
187
TickingClock,
185
188
Trash,
186
189
VerticalEllipsis,
You can’t perform that action at this time.
0 commit comments