Browse Source

feat(icon): new profiling icon (#41152)

![Screen Shot 2022-11-08 at 1 33 41
PM](https://user-images.githubusercontent.com/4830259/200680313-fef239d6-ea39-4cd3-842b-d0fa625e6d47.png)
Dora 2 years ago
parent
commit
45b7fa862d

+ 5 - 0
docs-ui/stories/assets/icons/data.tsx

@@ -675,4 +675,9 @@ export const icons: IconData[] = [
     groups: ['action'],
     keywords: ['rewind'],
   },
+  {
+    id: 'profiling',
+    groups: ['chart'],
+    keywords: ['performance', 'span', 'flame', 'icicle'],
+  },
 ];

+ 15 - 0
static/app/icons/iconProfiling.tsx

@@ -0,0 +1,15 @@
+import {forwardRef} from 'react';
+
+import {SvgIcon, SVGIconProps} from './svgIcon';
+
+const IconProfiling = forwardRef<SVGSVGElement, SVGIconProps>((props, ref) => {
+  return (
+    <SvgIcon {...props} ref={ref}>
+      <path d="M15.25,0H.75C.33,0,0,.34,0,.75V5.59c0,.41,.34,.75,.75,.75h1.49v4.09c0,.41,.34,.75,.75,.75h1.73v4.09c0,.41,.34,.75,.75,.75h5.06c.41,0,.75-.34,.75-.75v-4.09h1.73c.41,0,.75-.34,.75-.75V6.34h1.49c.41,0,.75-.34,.75-.75V.75c0-.41-.34-.75-.75-.75Zm-5.47,14.52h-3.56v-3.34h3.56v3.34Zm2.48-4.84H3.74v-3.34H12.25v3.34Zm2.24-4.84H1.5V1.5H14.5v3.34Z" />
+    </SvgIcon>
+  );
+});
+
+IconProfiling.displayName = 'IconProfiling';
+
+export {IconProfiling};

+ 1 - 0
static/app/icons/index.tsx

@@ -71,6 +71,7 @@ export {IconPin} from './iconPin';
 export {IconPlay} from './iconPlay';
 export {IconPrevious} from './iconPrevious';
 export {IconPrint} from './iconPrint';
+export {IconProfiling} from './iconProfiling';
 export {IconProject} from './iconProject';
 export {IconQuestion} from './iconQuestion';
 export {IconRefresh} from './iconRefresh';