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';
3
3
const { Link } = Router ;
4
4
import GlobalVariables from 'demo/docs/globalVariables' ;
5
5
6
+ import { SLDSLookup } from 'design-system-react' ;
6
7
7
8
module . exports = React . createClass ( {
8
9
render ( ) {
@@ -11,6 +12,22 @@ module.exports = React.createClass({
11
12
< h1 className = 'slds-text-heading--large' >
12
13
Playground!
13
14
</ 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
+ />
14
31
</ section >
15
32
) ;
16
33
}
You can’t perform that action at this time.
0 commit comments