diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-09-19 14:03:27 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-09-19 20:20:55 +0200 |
commit | 7d7bfd09c1bdbe753899265ef15212b0e4682c32 (patch) | |
tree | 6dbd3525482056ae8375a730bb2be26e5eda8485 /server/sonar-docs/src/layouts/components/icons/DetachIcon.js | |
parent | 4f5e9d9f87a37dc04fa147667afee85743cab643 (diff) | |
download | sonarqube-7d7bfd09c1bdbe753899265ef15212b0e4682c32.tar.gz sonarqube-7d7bfd09c1bdbe753899265ef15212b0e4682c32.zip |
MMF-1420 Ease management of Embedded Docs navigation (#699)
Diffstat (limited to 'server/sonar-docs/src/layouts/components/icons/DetachIcon.js')
-rw-r--r-- | server/sonar-docs/src/layouts/components/icons/DetachIcon.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/server/sonar-docs/src/layouts/components/icons/DetachIcon.js b/server/sonar-docs/src/layouts/components/icons/DetachIcon.js new file mode 100644 index 00000000000..a48571957a4 --- /dev/null +++ b/server/sonar-docs/src/layouts/components/icons/DetachIcon.js @@ -0,0 +1,32 @@ +/* + * SonarQube + * Copyright (C) 2009-2018 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 Icon from './Icon'; + +export default function DetachIcon({ className, fill = 'currentColor', size }) { + return ( + <Icon className={className} size={size}> + <path + d="M12 9.25v2.5A2.25 2.25 0 0 1 9.75 14h-6.5A2.25 2.25 0 0 1 1 11.75v-6.5A2.25 2.25 0 0 1 3.25 3h5.5c.14 0 .25.11.25.25v.5c0 .14-.11.25-.25.25h-5.5C2.562 4 2 4.563 2 5.25v6.5c0 .688.563 1.25 1.25 1.25h6.5c.688 0 1.25-.563 1.25-1.25v-2.5c0-.14.11-.25.25-.25h.5c.14 0 .25.11.25.25zm3-6.75v4c0 .273-.227.5-.5.5a.497.497 0 0 1-.352-.148l-1.375-1.375L7.68 10.57a.27.27 0 0 1-.18.078.27.27 0 0 1-.18-.078l-.89-.89a.27.27 0 0 1-.078-.18.27.27 0 0 1 .078-.18l5.093-5.093-1.375-1.375A.497.497 0 0 1 10 2.5c0-.273.227-.5.5-.5h4c.273 0 .5.227.5.5z" + style={{ fill }} + /> + </Icon> + ); +} |