aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/icons-components/BugIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/icons-components/BugIcon.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/icons-components/BugIcon.tsx19
1 files changed, 8 insertions, 11 deletions
diff --git a/server/sonar-web/src/main/js/components/icons-components/BugIcon.tsx b/server/sonar-web/src/main/js/components/icons-components/BugIcon.tsx
index eb5f504ecb8..8cf7db7cbc3 100644
--- a/server/sonar-web/src/main/js/components/icons-components/BugIcon.tsx
+++ b/server/sonar-web/src/main/js/components/icons-components/BugIcon.tsx
@@ -18,23 +18,20 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
+import { IconProps } from './types';
-interface Props {
- className?: string;
- size?: number;
-}
-
-export default function BugIcon({ className, size = 16 }: Props) {
- /* eslint-disable max-len */
+export default function BugIcon({ className, fill = 'currentColor', size = 16 }: IconProps) {
return (
<svg
className={className}
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 16 16"
width={size}
- height={size}>
+ height={size}
+ viewBox="0 0 16 16"
+ version="1.1"
+ xmlnsXlink="http://www.w3.org/1999/xlink"
+ xmlSpace="preserve">
<path
- style={{ fill: 'currentColor' }}
+ style={{ fill }}
d="M11 9h1.3l.5.8.8-.5-.8-1.3H11v-.3l2-2.3V3h-1v2l-1 1.2V5c-.1-.8-.7-1.5-1.4-1.9L11 1.8l-.7-.7-1.8 1.6-1.8-1.6-.7.7 1.5 1.3C6.7 3.5 6.1 4.2 6 5v1.1L5 5V3H4v2.3l2 2.3V8H4.2l-.7 1.2.8.5.4-.7H6v.3l-2 1.9V14h1v-2.4l1-1C6 12 7.1 13 8.4 13h.8c.7 0 1.4-.3 1.8-.9.3-.4.3-.9.2-1.4l.9.9V14h1v-2.8l-2-1.9V9zm-2 2H8V6h1v5z"
/>
</svg>