Skip to content

Commit cba908e

Browse files
committed
playground progress
1 parent f07f56d commit cba908e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

demo/pages/Playground.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Router from 'react-router';
33
const { Link } = Router;
44
import GlobalVariables from 'demo/docs/globalVariables';
55

6+
import {SLDSLookup} from 'design-system-react';
67

78
module.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
}

0 commit comments

Comments
 (0)