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({
2323 } ,
2424
2525 getPaths ( data ) {
26- console . log ( 'DATA: ' , data ) ;
2726 if ( data instanceof Array ) {
2827 return data . map ( ( item ) => {
2928 return < path { ...item } /> ;
@@ -34,8 +33,7 @@ module.exports = React.createClass({
3433
3534 getSVG ( name ) {
3635 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 > ;
3937 } ,
4038
4139 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
1313
1414import React from 'react' ;
1515import SVG from './SVG' ;
16- //import classNames from 'classnames';
1716
1817module . exports = React . createClass ( {
1918
You can’t perform that action at this time.
0 commit comments