File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed
components/SLDSUtilityIcon Expand file tree Collapse file tree 4 files changed +5
-10
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -17,11 +17,7 @@ import SVG from './SVG';
1717
1818module . exports = React . createClass ( {
1919
20- onClick ( ) {
21- this . setState ( { active : ! this . state . active } ) ;
22- } ,
23-
2420 render ( ) {
25- return < SVG name = 'adduser' className = 'slds-input__icon slds-icon-text-default' width = { 100 } height = { 100 } /> ;
21+ return < SVG { ... this . props } /> ;
2622 }
2723} ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import React from 'react';
1313import SLDSButton from '../../../components/SLDSButton' ;
1414import { ButtonIcon , Icon } from "./../../../components/SLDSIcons" ;
1515import { default as PrismCode } from "react-prism/lib/PrismCode" ;
16- import SLDSIcon from '../../../components/SLDSIcon ' ;
16+ import SLDSUtilityIcon from '../../../components/SLDSUtilityIcon ' ;
1717
1818
1919
@@ -42,11 +42,10 @@ module.exports = React.createClass( {
4242 < h3 className = 'slds-text-heading--medium slds-truncate' >
4343 Utility Icon
4444 </ h3 >
45- { /*
46-
47- */ }
4845 < div className = 'slds-p-vertical--large' >
49- < SLDSIcon name = 'adduser' />
46+ < div className = 'slds-input-has-icon slds-input-has-icon--right' >
47+ < SLDSUtilityIcon name = 'adduser' className = 'slds-input__icon slds-icon-text-default' />
48+ </ div >
5049 </ div >
5150 </ div >
5251
You can’t perform that action at this time.
0 commit comments