Skip to content

Commit f07f56d

Browse files
committed
playground page
1 parent decbc13 commit f07f56d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

demo/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ import PageHeaderSection from './pages/PageHeaderSection';
3030
import PicklistSection from './pages/PicklistSection';
3131
import TooltipSection from './pages/TooltipSection';
3232

33+
import Playground from './pages/Playground';
34+
3335
const routes = (
3436
<Route name="home" path="/" handler={HomePage}>
3537
<DefaultRoute handler={Welcome} />
3638

39+
<Route name="playground" path="playground" handler={Playground} />
40+
41+
3742
<Route name="welcome" path="welcome" handler={Welcome} />
3843
<Route name="getting-started" path="getting-started" handler={GettingStarted} />
3944
<Route name="breadcrumb" path="breadcrumb" handler={BreadCrumbSection}/>

demo/pages/Playground.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from 'react';
2+
import Router from 'react-router';
3+
const { Link } = Router;
4+
import GlobalVariables from 'demo/docs/globalVariables';
5+
6+
7+
module.exports = React.createClass({
8+
render(){
9+
return (
10+
<section className="copy-text" style={{"maxWidth": "800px"}}>
11+
<h1 className='slds-text-heading--large'>
12+
Playground!
13+
</h1>
14+
</section>
15+
);
16+
}
17+
});

0 commit comments

Comments
 (0)