Skip to content

Commit 5a36e07

Browse files
authored
docs(misc): fix typos in props descriptions + make minor text change (#4218)
Fix typos in props description, and make minor text change to improve understanding of prop usage
1 parent ff70355 commit 5a36e07

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/src/examples/collections/Table/Variations/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const Variations = () => (
7979

8080
<ComponentExample
8181
title='Celled'
82-
description='A table may be divided each row into separate cells.'
82+
description='A table may be divided into individual cells.'
8383
examplePath='collections/Table/Variations/TableExampleCelled'
8484
/>
8585

src/collections/Grid/Grid.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface StrictGridProps {
3636
/** Represents column count per row in Grid. */
3737
columns?: SemanticWIDTHS | 'equal'
3838

39-
/** A grid can be combined with a container to use avaiable layout and alignment. */
39+
/** A grid can be combined with a container to use available layout and alignment. */
4040
container?: boolean
4141

4242
/** A grid can have dividers between its columns. */
@@ -60,7 +60,7 @@ export interface StrictGridProps {
6060
/** A grid can have its columns stack on-top of each other after reaching mobile breakpoints. */
6161
stackable?: boolean
6262

63-
/** An can stretch its contents to take up the entire grid height. */
63+
/** A grid can stretch its contents to take up the entire grid height. */
6464
stretched?: boolean
6565

6666
/** A grid can specify its text alignment. */

src/collections/Grid/GridColumn.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ export interface StrictGridColumnProps {
4848
/** A column can appear only for a specific device, or screen sizes. */
4949
only?: GridOnlyProp
5050

51-
/** An can stretch its contents to take up the entire grid or row height. */
51+
/** A column can stretch its contents to take up the entire grid or row height. */
5252
stretched?: boolean
5353

5454
/** A column can specify a width for a tablet device. */
5555
tablet?: SemanticWIDTHS
5656

57-
/** A row can specify its text alignment. */
57+
/** A column can specify its text alignment. */
5858
textAlign?: SemanticTEXTALIGNMENTS
5959

6060
/** A column can specify its vertical alignment to have all its columns vertically centered. */

src/collections/Grid/GridRow.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ export interface StrictGridRowProps {
3838
/** A row can appear only for a specific device, or screen sizes. */
3939
only?: GridOnlyProp
4040

41-
/** A row can specify that its columns should reverse order at different device sizes. */
41+
/** A row can specify that its columns should reverse order at different device sizes. */
4242
reversed?: GridReversedProp
4343

44-
/** An can stretch its contents to take up the entire column height. */
44+
/** A row can stretch its contents to take up the entire column height. */
4545
stretched?: boolean
4646

4747
/** A row can specify its text alignment. */

src/collections/Table/Table.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface StrictTableProps {
2828
/** A table can reduce its complexity to increase readability. */
2929
basic?: boolean | 'very'
3030

31-
/** A table may be divided each row into separate cells. */
31+
/** A table may be divided into individual cells. */
3232
celled?: boolean | 'internally'
3333

3434
/** Primary content. */

src/collections/Table/Table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Table.propTypes = {
129129
/** A table can reduce its complexity to increase readability. */
130130
basic: PropTypes.oneOfType([PropTypes.oneOf(['very']), PropTypes.bool]),
131131

132-
/** A table may be divided each row into separate cells. */
132+
/** A table may be divided into individual cells. */
133133
celled: PropTypes.bool,
134134

135135
/** Primary content. */

0 commit comments

Comments
 (0)