Skip to content

Commit 8d23972

Browse files
added fill props
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent 2ca5ab5 commit 8d23972

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/icons/Github/GithubIcon.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
interface GithubIconProps {
22
height?: string | number;
33
width?: string | number;
4+
fill?: string;
45
className?: string;
56
}
67

78
export default function GithubIcon({
89
height = '1.45rem',
910
width = '1.45rem',
11+
fill = 'currentColor',
1012
className
1113
}: GithubIconProps) {
1214
return (
@@ -18,7 +20,7 @@ export default function GithubIcon({
1820
viewBox="0 0 400 400"
1921
>
2022
<path
21-
fill="currentColor"
23+
fill={fill}
2224
fillRule="evenodd"
2325
clipRule="evenodd"
2426
d="M203.9,60c-75.6,0-137,61.3-137,137c0,60.5,39.2,111.9,93.7,130c6.8,1.3,9.3-3,9.3-6.6c0-3.3-0.1-11.9-0.2-23.3

0 commit comments

Comments
 (0)