Skip to content

Commit

Permalink
fix(components): refactor ColumnIcon
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Nov 2, 2023
1 parent 073f5d3 commit 6f2165b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 20 deletions.
24 changes: 24 additions & 0 deletions packages/svg/src/icons/Column/ColumnIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React, { SVGProps } from 'react';
import { CARIBBEAN_GREEN_FILL, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';

const ColumnIcon: React.FC<SVGProps<SVGSVGElement>> = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
fill = CARIBBEAN_GREEN_FILL,
...props
}) => {
return (
<svg
width={width}
height={height}
xmlns="http://www.w3.org/2000/svg"
viewBox="0 -960 960 960"
fill={fill}
{...props}
>
<path d="M120-200v-560h220v560H120Zm250 0v-560h220v560H370Zm250 0v-560h220v560H620Z" />
</svg>
);
};

export default ColumnIcon;
19 changes: 0 additions & 19 deletions packages/svg/src/icons/Column/columnIcon.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion packages/svg/src/icons/Column/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as ColumnIcon } from './columnIcon';
export { default as ColumnIcon } from './ColumnIcon';
1 change: 1 addition & 0 deletions packages/svg/src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export * from './Circle';
export * from './Clone';
export * from './Close';
export * from './Cloud';
export * from './Column';
export * from './Component';
export * from './Configuration';
export * from './Copy';
Expand Down

0 comments on commit 6f2165b

Please sign in to comment.