Skip to content

Commit

Permalink
Add PHP icon (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Nov 22, 2023
1 parent 5d77c81 commit d0ee93f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ReactComponent as DefaultIcon } from 'platformicons/svg/default.svg';
import { ReactComponent as JavaScriptIcon } from 'platformicons/svg/javascript.svg';
import { ReactComponent as NodeIcon } from 'platformicons/svg/nodejs.svg';
import { ReactComponent as PythonIcon } from 'platformicons/svg/python.svg';
import { ReactComponent as PhpIcon } from 'platformicons/svg/php.svg';

import { ComponentPropsWithoutRef } from 'react';

Expand All @@ -22,6 +23,8 @@ export default function PlatformIcon({
return <JavaScriptIcon width={size} height={size} {...props} />;
case 'node':
return <NodeIcon width={size} height={size} {...props} />;
case 'php':
return <PhpIcon width={size} height={size} {...props} />;
default:
return <DefaultIcon width={size} height={size} {...props} />;
}
Expand Down

0 comments on commit d0ee93f

Please sign in to comment.