File tree Expand file tree Collapse file tree 5 files changed +91
-0
lines changed Expand file tree Collapse file tree 5 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ import React , { FC } from 'react' ;
2
+ import { IIconProps } from '../type' ;
3
+ import { IconSort16 } from './Sort16' ;
4
+ import { IconSort24 } from './Sort24' ;
5
+ import { IconSort32 } from './Sort32' ;
6
+
7
+ export const IconSort : FC < IIconProps > = ( {
8
+ size = 16 ,
9
+ color = 'currentColor' ,
10
+ } ) => {
11
+ switch ( size . toString ( ) ) {
12
+ case '16' :
13
+ return < IconSort16 color = { color } /> ;
14
+ case '24' :
15
+ return < IconSort24 color = { color } /> ;
16
+ case '32' :
17
+ return < IconSort32 color = { color } /> ;
18
+ default :
19
+ return < IconSort24 size = { size } color = { color } /> ;
20
+ }
21
+ } ;
Original file line number Diff line number Diff line change
1
+ import React , { FC } from 'react' ;
2
+ import { IIconProps } from '../type' ;
3
+
4
+ export const IconSort16 : FC < IIconProps > = ( {
5
+ size = 16 ,
6
+ color = 'currentColor' ,
7
+ } ) => (
8
+ < svg
9
+ width = { size }
10
+ height = { size }
11
+ fill = 'none'
12
+ xmlns = 'http://www.w3.org/2000/svg'
13
+ >
14
+ < path
15
+ d = 'M6.57143 13V3L3 6.57143M9.42857 3V13L13 9.42857'
16
+ stroke = { color }
17
+ strokeLinecap = 'round'
18
+ strokeLinejoin = 'round'
19
+ />
20
+ </ svg >
21
+ ) ;
Original file line number Diff line number Diff line change
1
+ import React , { FC } from 'react' ;
2
+ import { IIconProps } from '../type' ;
3
+
4
+ export const IconSort24 : FC < IIconProps > = ( {
5
+ size = 24 ,
6
+ color = 'currentColor' ,
7
+ } ) => (
8
+ < svg
9
+ width = { size }
10
+ height = { size }
11
+ fill = 'none'
12
+ xmlns = 'http://www.w3.org/2000/svg'
13
+ >
14
+ < path
15
+ d = 'M10 19V5L5 10M14 5V19L19 14'
16
+ stroke = { color }
17
+ strokeWidth = '1.5'
18
+ strokeLinecap = 'round'
19
+ strokeLinejoin = 'round'
20
+ />
21
+ </ svg >
22
+ ) ;
Original file line number Diff line number Diff line change
1
+ import React , { FC } from 'react' ;
2
+ import { IIconProps } from '../type' ;
3
+
4
+ export const IconSort32 : FC < IIconProps > = ( {
5
+ size = 32 ,
6
+ color = 'currentColor' ,
7
+ } ) => (
8
+ < svg
9
+ width = { size }
10
+ height = { size }
11
+ fill = 'none'
12
+ xmlns = 'http://www.w3.org/2000/svg'
13
+ >
14
+ < path
15
+ d = 'M13.3333 25.3333V6.66666L6.66666 13.3333M18.6667 6.66666V25.3333L25.3333 18.6667'
16
+ stroke = { color }
17
+ strokeWidth = '2'
18
+ strokeLinecap = 'round'
19
+ strokeLinejoin = 'round'
20
+ />
21
+ </ svg >
22
+ ) ;
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ export * from './icons/Link/Link16';
41
41
export * from './icons/Link/Link24' ;
42
42
export * from './icons/Link/Link32' ;
43
43
44
+ export * from './icons/Sort/Sort' ;
45
+ export * from './icons/Sort/Sort16' ;
46
+ export * from './icons/Sort/Sort24' ;
47
+ export * from './icons/Sort/Sort32' ;
48
+
44
49
export * from './icons/arrowCircles/ArrowCircleBottom' ;
45
50
export * from './icons/arrowCircles/ArrowCircleLeft' ;
46
51
export * from './icons/arrowCircles/ArrowCircleRight' ;
You can’t perform that action at this time.
0 commit comments