Skip to content

Commit 985a324

Browse files
author
Dora
authored
feature(dashboards): added grid icon (#80806)
**In the component library:** <img width="412" alt="Screenshot 2024-11-14 at 8 27 20 PM" src="https://github.com/user-attachments/assets/4880caa8-61c7-49f5-b946-afced954f997">
1 parent 3cc67ab commit 985a324

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

static/app/icons/iconGrid.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import {forwardRef} from 'react';
2+
3+
import type {SVGIconProps} from './svgIcon';
4+
import {SvgIcon} from './svgIcon';
5+
6+
const IconGrid = forwardRef<SVGSVGElement, SVGIconProps>((props, ref) => {
7+
return (
8+
<SvgIcon {...props} ref={ref}>
9+
<path d="M5.67,7.2H1.47C.64,7.2-.03,6.52-.03,5.7V1.49C-.03.66.64,0,1.47,0h4.2c.83,0,1.5.67,1.5,1.5v4.2c0,.83-.67,1.5-1.5,1.5ZM1.47,1.49v4.2h4.21V1.49H1.47Z" />
10+
<path d="M5.67,16.02H1.47c-.83,0-1.5-.67-1.5-1.5v-4.2c0-.83.67-1.5,1.5-1.5h4.2c.83,0,1.5.67,1.5,1.5v4.2c0,.83-.67,1.5-1.5,1.5ZM1.47,10.31v4.2h4.2v-4.2s-4.2,0-4.2,0Z" />
11+
<path d="M14.51,7.2h-4.21c-.83,0-1.5-.67-1.5-1.5V1.49C8.8.66,9.47,0,10.3,0h4.21c.83,0,1.5.67,1.5,1.5v4.2c0,.83-.67,1.5-1.5,1.5ZM10.3,1.49v4.2h4.21V1.49h-4.21Z" />
12+
<path d="M14.51,16.02h-4.21c-.83,0-1.5-.67-1.5-1.5v-4.2c0-.83.67-1.5,1.5-1.5h4.21c.83,0,1.5.67,1.5,1.5v4.2c0,.83-.67,1.5-1.5,1.5ZM10.3,10.31v4.2h4.2v-4.2s-4.2,0-4.2,0Z" />
13+
</SvgIcon>
14+
);
15+
});
16+
17+
IconGrid.displayName = 'IconGrid';
18+
19+
export {IconGrid};

static/app/icons/icons.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,6 +1127,12 @@ const SECTIONS: TSection[] = [
11271127
name: 'Table',
11281128
defaultProps: {},
11291129
},
1130+
{
1131+
id: 'grid',
1132+
name: 'Grid',
1133+
keywords: ['squares', 'layout'],
1134+
defaultProps: {},
1135+
},
11301136
],
11311137
},
11321138
{

static/app/icons/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export {IconGitlab} from './iconGitlab';
4545
export {IconGoogle} from './iconGoogle';
4646
export {IconGrabbable} from './iconGrabbable';
4747
export {IconGraph} from './iconGraph';
48+
export {IconGrid} from './iconGrid';
4849
export {IconGroup} from './iconGroup';
4950
export {IconHappy} from './iconHappy';
5051
export {IconInfo} from './iconInfo';

0 commit comments

Comments
 (0)