Skip to content

Commit

Permalink
Merge pull request #947 from Vidit-Kushwaha/chore/icons
Browse files Browse the repository at this point in the history
Add New Icons to Sistent Icons
  • Loading branch information
amitamrutiya authored Mar 4, 2025
2 parents 1c32b4d + df9e56b commit 327bd4a
Showing 5 changed files with 66 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/icons/ArrowCompress/ArrowCompressIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { FC } from 'react';
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
import { IconProps } from '../types';

const ArrowCompressIcon: FC<IconProps> = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
...props
}) => {
return (
<svg
width={width}
height={height}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
transform="matrix(-1,0,0,1,0,0)"
{...props}
>
<path
d="m5 5 5 5m0 0V5m0 5H5m14 9-5-5m0 0v5m0-5h5"
stroke="#000"
strokeWidth={2}
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
};

export default ArrowCompressIcon;
1 change: 1 addition & 0 deletions src/icons/ArrowCompress/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as ArrowCompressIcon } from './ArrowCompressIcon';
30 changes: 30 additions & 0 deletions src/icons/ArrowExpand/ArrowExpandIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { FC } from 'react';
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
import { IconProps } from '../types';

const ArrowCompressIcon: FC<IconProps> = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
...props
}) => {
return (
<svg
width={width}
height={height}
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
fill="none"
{...props}
>
<path
d="m5 5 5 5m0 0V5m0 5H5m14 9-5-5m0 0v5m0-5h5"
stroke="#000"
strokeWidth={2}
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
};

export default ArrowCompressIcon;
1 change: 1 addition & 0 deletions src/icons/ArrowExpand/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as ArrowExpandIcon } from './ArrowExpandIcon';
2 changes: 2 additions & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export * from './Add';
export * from './AddCircle';
export * from './Application';
export * from './ArrowCompress';
export * from './ArrowExpand';
export * from './Bell';
export * from './Bus';
export * from './CatalogIcon';

0 comments on commit 327bd4a

Please sign in to comment.