Skip to content

Commit d9e653c

Browse files
Merge pull request #1452 from indevi/barchart
Address Barchart icon
2 parents 9a8c19f + 0499bce commit d9e653c

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { DEFAULT_FILL, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const BarchartIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
fill = DEFAULT_FILL,
8+
...props
9+
}: IconProps): JSX.Element => {
10+
return (
11+
<svg
12+
width={width}
13+
height={height}
14+
xmlns="http://www.w3.org/2000/svg"
15+
viewBox="0 0 24 24"
16+
data-testid="barchart-icon-svg"
17+
{...props}
18+
>
19+
<path
20+
d="M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"
21+
fill={fill}
22+
/>
23+
</svg>
24+
);
25+
};
26+
27+
export default BarchartIcon;

src/icons/Barchart/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as BarchartIcon } from './BarchartIcon';

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export * from './ArrowDropDown';
1212
export * from './ArrowExpand';
1313
export * from './ArrowUpward';
1414
export * from './Article';
15+
export * from './Barchart';
1516
export * from './Bell';
1617
export * from './BuildRounded';
1718
export * from './Bus';

0 commit comments

Comments
 (0)