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';
17
17
18
18
module . exports = React . createClass ( {
19
19
20
- onClick ( ) {
21
- this . setState ( { active : ! this . state . active } ) ;
22
- } ,
23
-
24
20
render ( ) {
25
- return < SVG name = 'adduser' className = 'slds-input__icon slds-icon-text-default' width = { 100 } height = { 100 } /> ;
21
+ return < SVG { ... this . props } /> ;
26
22
}
27
23
} ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import React from 'react';
13
13
import SLDSButton from '../../../components/SLDSButton' ;
14
14
import { ButtonIcon , Icon } from "./../../../components/SLDSIcons" ;
15
15
import { default as PrismCode } from "react-prism/lib/PrismCode" ;
16
- import SLDSIcon from '../../../components/SLDSIcon ' ;
16
+ import SLDSUtilityIcon from '../../../components/SLDSUtilityIcon ' ;
17
17
18
18
19
19
@@ -42,11 +42,10 @@ module.exports = React.createClass( {
42
42
< h3 className = 'slds-text-heading--medium slds-truncate' >
43
43
Utility Icon
44
44
</ h3 >
45
- { /*
46
-
47
- */ }
48
45
< 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 >
50
49
</ div >
51
50
</ div >
52
51
You can’t perform that action at this time.
0 commit comments