Skip to content

Commit

Permalink
Merge pull request layer5io#750 from layer5io/hamburger-menu
Browse files Browse the repository at this point in the history
chore: Add hamburger icon
  • Loading branch information
aabidsofi19 authored Oct 7, 2024
2 parents b0fa866 + 67b8616 commit 43f2af7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/icons/Menu/MenuIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
import { IconProps } from '../types';

export const AddIcon = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
fill = DEFAULT_FILL_NONE,
...props
}: IconProps): JSX.Element => {
return (
<svg
width={width}
height={height}
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
data-testid="add-icon-svg"
{...props}
>
<path fill={fill} d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path>
</svg>
);
};

export default AddIcon;
1 change: 1 addition & 0 deletions src/icons/Menu/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as MenuIcon } from './MenuIcon';
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export * from './InfoOutlined';
export * from './Kubernetes';
export * from './LeftAngledArrow';
export * from './LeftArrow';
export * from './Menu';
export * from './MesheryOperator';
export * from './Open';
export * from './PanTool';
Expand Down

0 comments on commit 43f2af7

Please sign in to comment.