Skip to content

Commit 196c55e

Browse files
AcademyIcon
Signed-off-by: Rajesh-Nagarajan-11 <[email protected]>
1 parent fe994b5 commit 196c55e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

src/icons/Academy/AcademyIcon.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { FC } from 'react';
2+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH, KEPPEL_GREEN_FILL,} from '../../constants/constants';
3+
import { IconProps } from '../types';
4+
5+
type AcademyIconProps = {
6+
primaryFill: string;
7+
} & IconProps;
8+
9+
const AcademyIcon: FC<AcademyIconProps> = ({
10+
width = DEFAULT_WIDTH,
11+
height = DEFAULT_HEIGHT,
12+
primaryFill = KEPPEL_GREEN_FILL,
13+
...props
14+
}) => {
15+
return (
16+
<svg
17+
width={width}
18+
height={height}
19+
xmlns="http://www.w3.org/2000/svg"
20+
viewBox="0 0 512 512"
21+
data-testid="academy-icon-svg"
22+
{...props}
23+
>
24+
<path d="M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z" fill={primaryFill} />
25+
</svg>
26+
);
27+
};
28+
29+
export default AcademyIcon;

0 commit comments

Comments
 (0)