Skip to content

Commit 0cceaee

Browse files
committed
📝 Update docs
1 parent 059ba84 commit 0cceaee

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/grid.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Box, Grid } from '../src'
1616

1717
[Grid Layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout)
1818

19-
- Item conrolled with `col`, `row` prop in `Grid.Item` component
19+
- Item conrolled with `column`, `row` prop in `Grid.Item` component
2020
- [Space](https://github.com/exah/pss/blob/master/docs/api.md#space) between items conrolled with `gap`, `columnGap` and `rowGap` props
2121
- [Box alignment](https://rachelandrew.co.uk/css/cheatsheets/box-alignment) styles
2222

@@ -129,7 +129,7 @@ import { Grid } from 'pss-components'
129129
</Grid>
130130
</Playground>
131131

132-
### Control each item `col` and `row` props
132+
### Control each item `column` and `row` props
133133

134134
<Playground>
135135
<Grid templateColumns='repeat(12, 1fr)' gap={1}>

docs/match-media.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ With values from `media` prop:
3838
<MatchMediaConsumer>
3939
{(matchedMedia) => (
4040
<Box>
41-
Current media: {matchedMedia.key}
41+
Current media: {matchedMedia.matches.join(', ')}
4242
</Box>
4343
)}
4444
</MatchMediaConsumer>
@@ -52,7 +52,7 @@ From `theme`:
5252
<MatchMediaConsumer>
5353
{(matchedMedia) => (
5454
<Box>
55-
Current media: {matchedMedia.key}
55+
Current media: {matchedMedia.matches.join(', ')}
5656
</Box>
5757
)}
5858
</MatchMediaConsumer>

docs/theme-defaults.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ import { ThemeDefaults } from 'pss-components'
2424

2525
<Playground>
2626
<Box>
27-
<Box tm={true} ratio={16 / 9} p={1} mb={1}>
27+
<Box tm='auto' ratio={16 / 9} p={1} mb={1}>
2828
Content
2929
</Box>
3030
<ThemeDefaults palette='inverted'>
31-
<Box tm={true} ratio={16 / 9} p={1}>
31+
<Box tm='auto' ratio={16 / 9} p={1}>
3232
Content
3333
</Box>
3434
</ThemeDefaults>

0 commit comments

Comments
 (0)