@@ -10,33 +10,33 @@ import gridListExampleSimpleCode from '!raw!./ExampleSimple';
1010import GridListExampleSimple from './ExampleSimple' ;
1111import gridListExampleComplexCode from '!raw!./ExampleComplex' ;
1212import GridListExampleComplex from './ExampleComplex' ;
13+ import gridListExampleSingleLineCode from '!raw!./ExampleSingleLine' ;
14+ import GridListExampleSingleLine from './ExampleSingleLine' ;
1315import gridListCode from '!raw!material-ui/GridList/GridList' ;
1416import gridTileCode from '!raw!material-ui/GridList/GridTile' ;
1517
16- const descriptions = {
17- simple : 'A simple example of a scrollable `GridList` containing a [Subheader](/#/components/subheader).' ,
18- complex : 'This example demonstrates "featured" tiles, using the `rows` and `cols` props to adjust the size of the ' +
19- 'tile. The tiles have a customised title, positioned at the top and with a custom gradient `titleBackground`.' ,
20- } ;
21-
2218const GridListPage = ( ) => (
2319 < div >
2420 < Title render = { ( previousTitle ) => `Grid List - ${ previousTitle } ` } />
2521 < MarkdownElement text = { gridListReadmeText } />
2622 < CodeExample
2723 title = "Simple example"
28- description = { descriptions . simple }
2924 code = { gridListExampleSimpleCode }
3025 >
3126 < GridListExampleSimple />
3227 </ CodeExample >
3328 < CodeExample
3429 title = "Complex example"
35- description = { descriptions . complex }
3630 code = { gridListExampleComplexCode }
3731 >
3832 < GridListExampleComplex />
3933 </ CodeExample >
34+ < CodeExample
35+ title = "One line example"
36+ code = { gridListExampleSingleLineCode }
37+ >
38+ < GridListExampleSingleLine />
39+ </ CodeExample >
4040 < PropTypeDescription header = "### GridList Properties" code = { gridListCode } />
4141 < PropTypeDescription header = "### GridTile Properties" code = { gridTileCode } />
4242 </ div >
0 commit comments