aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/icons-components/LongLivingBranchIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/icons-components/LongLivingBranchIcon.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/icons-components/LongLivingBranchIcon.tsx21
1 files changed, 5 insertions, 16 deletions
diff --git a/server/sonar-web/src/main/js/components/icons-components/LongLivingBranchIcon.tsx b/server/sonar-web/src/main/js/components/icons-components/LongLivingBranchIcon.tsx
index fe6793ba85b..50193a76d75 100644
--- a/server/sonar-web/src/main/js/components/icons-components/LongLivingBranchIcon.tsx
+++ b/server/sonar-web/src/main/js/components/icons-components/LongLivingBranchIcon.tsx
@@ -18,29 +18,18 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
-import { IconProps } from './types';
+import Icon, { IconProps } from './Icon';
import * as theme from '../../app/theme';
-export default function LongLivingBranchIcon({
- className,
- fill = theme.blue,
- size = 16
-}: IconProps) {
+export default function LongLivingBranchIcon({ className, fill = theme.blue, size }: IconProps) {
return (
- <svg
- className={className}
- width={size}
- height={size}
- viewBox="0 0 16 16"
- version="1.1"
- xmlnsXlink="http://www.w3.org/1999/xlink"
- xmlSpace="preserve">
+ <Icon className={className} size={size}>
<g transform="translate(5, 0)">
<path
- style={{ fill }}
d="M4.5 8c0-.9-.6-1.7-1.5-1.9V4c.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 4v2.1C1.1 6.3.5 7.1.5 8s.6 1.7 1.5 2v2.1c-.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.9V10c.9-.3 1.5-1 1.5-2zm-3-5.9c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1-1-.5-1-1zm0 5.9c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1-1-.4-1-1zm2 6c0 .6-.4 1-1 1s-1-.4-1-1 .4-1 1-1 1 .5 1 1z"
+ style={{ fill }}
/>
</g>
- </svg>
+ </Icon>
);
}