File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import Router from 'react-router';
33const { Link } = Router ;
44import GlobalVariables from 'demo/docs/globalVariables' ;
55
6+ import { SLDSLookup } from 'design-system-react' ;
67
78module . exports = React . createClass ( {
89 render ( ) {
@@ -11,6 +12,22 @@ module.exports = React.createClass({
1112 < h1 className = 'slds-text-heading--large' >
1213 Playground!
1314 </ h1 >
15+ < hr />
16+ < SLDSLookup
17+ emptyMessage = "No items found"
18+ hasError = { false }
19+ label = "Account"
20+ onChange = { function ( newValue ) { console . log ( "New search term: " , newValue ) } }
21+ onSelect = { function ( item ) { console . log ( item , " Selected" ) } }
22+ options = { [
23+ { label : "Paddy\"s Pub" } ,
24+ { label : "Tyrell Corp" } ,
25+ { label : "Paper St. Soap Company" } ,
26+ { label : "Nakatomi Investments" } ,
27+ { label : "Acme Landscaping" } ,
28+ { label : "Acme Construction" }
29+ ] }
30+ />
1431 </ section >
1532 ) ;
1633 }
You can’t perform that action at this time.
0 commit comments