|
15 | 15 | import * as React from 'react'; |
16 | 16 | // import { CSSProperties } from 'jss/css'; |
17 | 17 |
|
18 | | -export default class StatusRunning extends React.Component<{ style: any }> { |
19 | | - public render(): JSX.Element { |
20 | | - const { style } = this.props; |
21 | | - return ( |
22 | | - <svg |
23 | | - width={style.width as string} |
24 | | - height={style.height as string} |
25 | | - viewBox="0 0 18 18" |
| 18 | +export default function StatusRunning({ |
| 19 | + style, |
| 20 | +}: { |
| 21 | + style: React.CSSProperties; |
| 22 | +}): React.ReactNode { |
| 23 | + return ( |
| 24 | + <svg |
| 25 | + width={style.width as string} |
| 26 | + height={style.height as string} |
| 27 | + viewBox="0 0 18 18" |
| 28 | + > |
| 29 | + <g |
| 30 | + transform="translate(-450, -307)" |
| 31 | + fill={style.color as string} |
| 32 | + fillRule="nonzero" |
26 | 33 | > |
27 | | - <g |
28 | | - transform="translate(-450, -307)" |
29 | | - fill={style.color as string} |
30 | | - fillRule="nonzero" |
31 | | - > |
32 | | - <g transform="translate(450, 266)"> |
33 | | - <g transform="translate(0, 41)"> |
34 | | - <path |
35 | | - d="M9,4 C6.23857143,4 4,6.23857143 4,9 C4,11.7614286 6.23857143,14 9,14 |
| 34 | + <g transform="translate(450, 266)"> |
| 35 | + <g transform="translate(0, 41)"> |
| 36 | + <path |
| 37 | + d="M9,4 C6.23857143,4 4,6.23857143 4,9 C4,11.7614286 6.23857143,14 9,14 |
36 | 38 | C11.7614286,14 14,11.7614286 14,9 C14,8.40214643 13.8950716,7.8288007 |
37 | 39 | 13.702626,7.29737398 L15.2180703,5.78192967 C15.7177126,6.74539838 |
38 | 40 | 16,7.83973264 16,9 C16,12.866 12.866,16 9,16 C5.134,16 2,12.866 2,9 C2,5.134 |
39 | 41 | 5.134,2 9,2 C10.933,2 12.683,2.7835 13.94975,4.05025 L12.7677679,5.23223214 |
40 | 42 | L9,9 L9,4 Z" |
41 | | - /> |
42 | | - </g> |
| 43 | + /> |
43 | 44 | </g> |
44 | 45 | </g> |
45 | | - </svg> |
46 | | - ); |
47 | | - } |
| 46 | + </g> |
| 47 | + </svg> |
| 48 | + ); |
48 | 49 | } |
0 commit comments