File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
components/SLDSUtilityIcon Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ module.exports = React.createClass({
23
23
} ,
24
24
25
25
getPaths ( data ) {
26
- console . log ( 'DATA: ' , data ) ;
27
26
if ( data instanceof Array ) {
28
27
return data . map ( ( item ) => {
29
28
return < path { ...item } /> ;
@@ -34,8 +33,7 @@ module.exports = React.createClass({
34
33
35
34
getSVG ( name ) {
36
35
const data = SLDS_ICONS_UTIL [ name . toLowerCase ( ) ] ;
37
- console . log ( 'DATA: ' , data ) ;
38
- return < svg className = { this . props . className } { ...this . props } viewBox = { SLDS_ICONS_UTIL . viewBox } > { this . getPaths ( data ) } </ svg > ;
36
+ return < svg { ...this . props } viewBox = { SLDS_ICONS_UTIL . viewBox } > { this . getPaths ( data ) } </ svg > ;
39
37
} ,
40
38
41
39
render ( ) {
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
13
14
14
import React from 'react' ;
15
15
import SVG from './SVG' ;
16
- //import classNames from 'classnames';
17
16
18
17
module . exports = React . createClass ( {
19
18
You can’t perform that action at this time.
0 commit comments