Skip to content

Commit 9349c09

Browse files
committed
fix: use DEFAULT_FILL_NONE instead of ONYX_BLACK in ChevronRight
1 parent 0967b29 commit 9349c09

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/icons/ChevronRight/ChevronRight.tsx

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

55
export const ChevronRight = ({
66
width = DEFAULT_WIDTH,
77
height = DEFAULT_HEIGHT,
8-
fill,
8+
fill = DEFAULT_FILL_NONE,
99
...props
1010
}: IconProps): JSX.Element => {
1111
return (
@@ -18,7 +18,7 @@ export const ChevronRight = ({
1818
>
1919
<path
2020
d="M8 16.997a1 1 0 01-.707-1.707l5-5a.999.999 0 000-1.414l-5-5a.999.999 0 111.414-1.414l5 5a3 3 0 010 4.243l-5 5A.997.997 0 018 16.997z"
21-
fill={fill || ONYX_BLACK}
21+
fill={fill}
2222
/>
2323
</svg>
2424
);

0 commit comments

Comments
 (0)