File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ import { DEFAULT_HEIGHT , DEFAULT_WIDTH , KEPPEL_GREEN_FILL } from '../../constants/constants' ;
2+ import { IconProps } from '../types' ;
3+
4+ export const CalculateIcon = ( {
5+ width = DEFAULT_WIDTH ,
6+ height = DEFAULT_HEIGHT ,
7+ fill = KEPPEL_GREEN_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 = "calculate-icon-svg"
17+ { ...props }
18+ >
19+ < path
20+ d = "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"
21+ fill = { fill }
22+ />
23+ </ svg >
24+ ) ;
25+ } ;
26+
27+ export default CalculateIcon ;
Original file line number Diff line number Diff line change 1+ export { default as CalculateIcon } from './CalculateIcon' ;
Original file line number Diff line number Diff line change @@ -139,3 +139,5 @@ export * from './Visibility';
139139export * from './Visualizer' ;
140140export * from './Warning' ;
141141export * from './Workspace' ;
142+ export * from './Science' ;
143+ export * from './Calculate' ;
You can’t perform that action at this time.
0 commit comments