Skip to content

Commit

Permalink
[typescript] Add test for Grid. (mui#7991)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald authored Aug 31, 2017
1 parent cd0f883 commit c102e16
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/typescript/components.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import {
TextField,
Toolbar,
Typography,
Grid,
} from '../../src';
import Collapse from '../../src/transitions/Collapse';
import { GridList } from '../../src/GridList';
Expand Down Expand Up @@ -321,6 +322,13 @@ const DockedDrawerTest = () =>
}
};

const GridTest = () =>
<Grid container>
<Grid item xs={12}>...</Grid>
<Grid item sm={12}>...</Grid>
<Grid item xl={true}>...</Grid>
</Grid>

const GridListTest = () =>
<GridList cellHeight={160} cols={3}>
<GridListTest cols={1}>
Expand Down

0 comments on commit c102e16

Please sign in to comment.