Skip to content

Commit 6f6a58a

Browse files
authored
feat: adding golang brand icon
1 parent 420c7bf commit 6f6a58a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/StoryIcon.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ import {
99
DiRust,
1010
} from 'react-icons/di';
1111
import { GoBeaker } from 'react-icons/go';
12-
import { TbMathFunction, TbAtom } from 'react-icons/tb';
12+
import { TbMathFunction, TbAtom, TbBrandGolang } from 'react-icons/tb';
1313
import { SiZig } from 'react-icons/si';
1414

1515
function StoryIcon({ language, size = 16, className = 'text-zinc-50' }) {
1616
switch (language) {
1717
case 'css':
1818
return <DiCss3Full size={size} className={className} />;
1919
break;
20+
case 'golang':
21+
return <TbBrandGolang size={size} className={className} />;
22+
break;
2023
case 'java':
2124
return <DiJava size={size} className={className} />;
2225
break;

0 commit comments

Comments
 (0)