aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/common/TimelineLogo.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-25 00:05:01 +0800
committerGitHub <noreply@github.com>2020-08-25 00:05:01 +0800
commit738a17688ca481db62755295f8b732200ca12511 (patch)
tree034b470eff54a9f725cd9e472966cf554cd2ee26 /Timeline/ClientApp/src/app/common/TimelineLogo.tsx
parentb9b7334ac5d5cf83b6206af024ddd4c55a6e07da (diff)
parentfe687f82d9c5af2869b679222bec11b1a00b9ee9 (diff)
downloadtimeline-738a17688ca481db62755295f8b732200ca12511.tar.gz
timeline-738a17688ca481db62755295f8b732200ca12511.tar.bz2
timeline-738a17688ca481db62755295f8b732200ca12511.zip
Merge pull request #154 from crupest/toolchain
Upgrade toolchain of front end.
Diffstat (limited to 'Timeline/ClientApp/src/app/common/TimelineLogo.tsx')
-rw-r--r--Timeline/ClientApp/src/app/common/TimelineLogo.tsx52
1 files changed, 26 insertions, 26 deletions
diff --git a/Timeline/ClientApp/src/app/common/TimelineLogo.tsx b/Timeline/ClientApp/src/app/common/TimelineLogo.tsx
index 1ec62021..27d188fc 100644
--- a/Timeline/ClientApp/src/app/common/TimelineLogo.tsx
+++ b/Timeline/ClientApp/src/app/common/TimelineLogo.tsx
@@ -1,26 +1,26 @@
-import React, { SVGAttributes } from 'react';
-
-export interface TimelineLogoProps extends SVGAttributes<SVGElement> {
- color?: string;
-}
-
-const TimelineLogo: React.FC<TimelineLogoProps> = props => {
- const { color, ...forwardProps } = props;
- const coercedColor = color ?? 'currentcolor';
- return (
- <svg
- className={props.className}
- viewBox="0 0 100 100"
- fill="none"
- strokeWidth="12"
- stroke={coercedColor}
- {...forwardProps}
- >
- <line x1="50" y1="0" x2="50" y2="25" />
- <circle cx="50" cy="50" r="22" />
- <line x1="50" y1="75" x2="50" y2="100" />
- </svg>
- );
-};
-
-export default TimelineLogo;
+import React, { SVGAttributes } from "react";
+
+export interface TimelineLogoProps extends SVGAttributes<SVGElement> {
+ color?: string;
+}
+
+const TimelineLogo: React.FC<TimelineLogoProps> = (props) => {
+ const { color, ...forwardProps } = props;
+ const coercedColor = color ?? "currentcolor";
+ return (
+ <svg
+ className={props.className}
+ viewBox="0 0 100 100"
+ fill="none"
+ strokeWidth="12"
+ stroke={coercedColor}
+ {...forwardProps}
+ >
+ <line x1="50" y1="0" x2="50" y2="25" />
+ <circle cx="50" cy="50" r="22" />
+ <line x1="50" y1="75" x2="50" y2="100" />
+ </svg>
+ );
+};
+
+export default TimelineLogo;