aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ui-common/components/icons/ShortLivingBranchIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-ui-common/components/icons/ShortLivingBranchIcon.tsx')
-rw-r--r--server/sonar-ui-common/components/icons/ShortLivingBranchIcon.tsx36
1 files changed, 36 insertions, 0 deletions
diff --git a/server/sonar-ui-common/components/icons/ShortLivingBranchIcon.tsx b/server/sonar-ui-common/components/icons/ShortLivingBranchIcon.tsx
new file mode 100644
index 00000000000..26d55d597ab
--- /dev/null
+++ b/server/sonar-ui-common/components/icons/ShortLivingBranchIcon.tsx
@@ -0,0 +1,36 @@
+/*
+ * Sonar UI Common
+ * Copyright (C) 2019-2020 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+import * as React from 'react';
+import { IconProps, ThemedIcon } from './Icon';
+
+export default function ShortLivingBranchIcon({ fill, ...iconProps }: IconProps) {
+ return (
+ <ThemedIcon {...iconProps}>
+ {({ theme }) => (
+ <g transform="translate(3, 0)">
+ <path
+ d="M9.5 6.5c0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.5 1.5 1.2 1.8-.3.6-.7 1.1-1.2 1.4-.9.5-1.9.5-2.5.4V4c.9-.2 1.5-1 1.5-1.9 0-1.1-.9-2-2-2s-2 .9-2 2C.5 3 1.1 3.8 2 4v8c-.9.2-1.5 1-1.5 1.9 0 1.1.9 2 2 2s2-.9 2-2c0-.9-.6-1.7-1.5-1.9v-1c.2 0 .5.1.7.1.7 0 1.5-.1 2.2-.6.8-.5 1.4-1.2 1.7-2.1 1.1 0 1.9-.9 1.9-1.9zm-8-4.4c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1-1-.5-1-1zm2 11.9c0 .6-.4 1-1 1s-1-.4-1-1 .4-1 1-1 1 .4 1 1zm4-6.5c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z"
+ style={{ fill: fill || theme.colors.blue }}
+ />
+ </g>
+ )}
+ </ThemedIcon>
+ );
+}