Skip to content

Commit d932540

Browse files
committed
Normalize ChevronLeft and ChevronRight exports with Icon suffix
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
1 parent f90be05 commit d932540

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

src/icons/ChevronLeft/ChevronLeft.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
22
import { ONYX_BLACK } from '../../theme';
33
import { IconProps } from '../types';
44

5-
export const ChevronLeft = ({
5+
export const ChevronLeftIcon = ({
66
width = DEFAULT_WIDTH,
77
height = DEFAULT_HEIGHT,
88
fill,
@@ -24,4 +24,5 @@ export const ChevronLeft = ({
2424
);
2525
};
2626

27-
export default ChevronLeft;
27+
export default ChevronLeftIcon;
28+

src/icons/ChevronLeft/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default as ChevronLeft } from './ChevronLeft';
1+
export { default as ChevronLeftIcon } from './ChevronLeft';

src/icons/ChevronRight/ChevronRight.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DEFAULT_HEIGHT, DEFAULT_WIDTH,DEFAULT_FILL_NONE } from
22
'../../constants/constants';
33
import { IconProps } from '../types';
44

5-
export const ChevronRight = ({
5+
export const ChevronRightIcon = ({
66
width = DEFAULT_WIDTH,
77
height = DEFAULT_HEIGHT,
88
fill = DEFAULT_FILL_NONE,
@@ -25,4 +25,5 @@ export const ChevronRight = ({
2525
);
2626
};
2727

28-
export default ChevronRight;
28+
export default ChevronRightIcon;
29+

src/icons/ChevronRight/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default as ChevronRight } from './ChevronRight';
1+
export { default as ChevronRightIcon } from './ChevronRight';

0 commit comments

Comments
 (0)