We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb7a695 commit f42e419Copy full SHA for f42e419
1 file changed
src/icons/ChevronRight/ChevronRight.tsx
@@ -1,11 +1,11 @@
1
-import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
+import { DEFAULT_HEIGHT, DEFAULT_WIDTH,DEFAULT_FILL_NONE } from '../../constants/constants';
2
import { ONYX_BLACK } from '../../theme';
3
import { IconProps } from '../types';
4
5
export const ChevronRight = ({
6
width = DEFAULT_WIDTH,
7
height = DEFAULT_HEIGHT,
8
- fill,
+ fill = DEFAULT_FILL_NONE,
9
...props
10
}: IconProps): JSX.Element => {
11
return (
@@ -18,7 +18,7 @@ export const ChevronRight = ({
18
>
19
<path
20
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}
+ fill={fill}
22
/>
23
</svg>
24
);
0 commit comments