diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-11-01 20:13:17 +0100 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-11-03 14:28:18 +0100 |
commit | 0c66605ff3957624bc9b8536ea273f576463380f (patch) | |
tree | e0d26907fee09464e0a2af8f0052f03b74adcd11 /server/sonar-web/src/main/js/components/icons-components/ClearIcon.tsx | |
parent | 20a70acea9fad007677c6e5ba28b99a6a7b532cc (diff) | |
download | sonarqube-0c66605ff3957624bc9b8536ea273f576463380f.tar.gz sonarqube-0c66605ff3957624bc9b8536ea273f576463380f.zip |
SONAR-10023 Clear actions must be consistent
Diffstat (limited to 'server/sonar-web/src/main/js/components/icons-components/ClearIcon.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/icons-components/ClearIcon.tsx | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/icons-components/ClearIcon.tsx b/server/sonar-web/src/main/js/components/icons-components/ClearIcon.tsx new file mode 100644 index 00000000000..741e9178272 --- /dev/null +++ b/server/sonar-web/src/main/js/components/icons-components/ClearIcon.tsx @@ -0,0 +1,39 @@ +/* + * SonarQube + * Copyright (C) 2009-2017 SonarSource SA + * mailto:contact 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 } from './types'; + +export default function ClearIcon({ className, fill = 'currentColor', size = 16 }: 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"> + <path + style={{ fill }} + d="M14 4.242L11.758 2l-3.76 3.76L4.242 2 2 4.242l3.756 3.756L2 11.758 4.242 14l3.756-3.76 3.76 3.76L14 11.758l-3.76-3.76L14 4.242z" + /> + </svg> + ); +} |