File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ import { DEFAULT_HEIGHT , DEFAULT_WIDTH } from '../../constants/constants' ;
2+ import { IconProps } from '../types' ;
3+
4+ const KEPPEL_GREEN_FILL = '#00B39F' ;
5+
6+ export const ScienceIcon = ( {
7+ width = DEFAULT_WIDTH ,
8+ height = DEFAULT_HEIGHT ,
9+ fill = KEPPEL_GREEN_FILL ,
10+ ...props
11+ } : IconProps ) : JSX . Element => {
12+ return (
13+ < svg
14+ width = { width }
15+ height = { height }
16+ xmlns = "http://www.w3.org/2000/svg"
17+ viewBox = "0 0 24 24"
18+ data-testid = "science-icon-svg"
19+ { ...props }
20+ >
21+ < path
22+ d = "M19.8 18.4L14 10.67V6.5l1.35-1.69c.26-.33.03-.81-.39-.81H9.04c-.42 0-.65.48-.39.81L10 6.5v4.17L4.2 18.4c-.49.66-.02 1.6.8 1.6h14c.82 0 1.29-.94.8-1.6z"
23+ fill = { fill }
24+ />
25+ </ svg >
26+ ) ;
27+ } ;
28+
29+ export default ScienceIcon ;
Original file line number Diff line number Diff line change 1+ export { default as ScienceIcon } from './ScienceIcon' ;
You can’t perform that action at this time.
0 commit comments