Skip to content

Commit

Permalink
Some spelling fixes (segmentio#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
robphoenix authored and Matt Shwery committed Jun 11, 2019
1 parent df5bc46 commit 3a92e2f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions src/form-field/src/FormField.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ export default class FormField extends PureComponent {
labelFor: PropTypes.string,

/**
* Wether or not show a asterix after the label.
* Whether or not show an asterix after the label.
*/
isRequired: PropTypes.bool,

/**
* A optional description of the field under the label, above the input element.
* An optional description of the field under the label, above the input element.
*/
description: PropTypes.node,

/**
* A optional hint under the input element.
* An optional hint under the input element.
*/
hint: PropTypes.node,

Expand All @@ -40,22 +40,22 @@ export default class FormField extends PureComponent {
validationMessage: PropTypes.node,

/**
* Composes the dimensions spec from the Box primitivie.
* Composes the dimensions spec from the Box primitive.
*/
...dimensions.propTypes,

/**
* Composes the spacing spec from the Box primitivie.
* Composes the spacing spec from the Box primitive.
*/
...spacing.propTypes,

/**
* Composes the position spec from the Box primitivie.
* Composes the position spec from the Box primitive.
*/
...position.propTypes,

/**
* Composes the layout spec from the Box primitivie.
* Composes the layout spec from the Box primitive.
*/
...layout.propTypes
}
Expand Down
2 changes: 1 addition & 1 deletion src/form-field/src/FormFieldLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class FormFieldLabel extends PureComponent {
...Label.propTypes,

/**
* Wether or not tho show an asterix after the label.
* Whether or not to show an asterix after the label.
*/
isAstrixShown: PropTypes.bool
}
Expand Down
6 changes: 3 additions & 3 deletions src/select/src/SelectField.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ export default class TextInputField extends PureComponent {
labelFor: PropTypes.string,

/**
* Wether or not show a asterix after the label.
* Whether or not to show an asterix after the label.
*/
isRequired: PropTypes.bool,

/**
* A optional description of the field under the label, above the input element.
* An optional description of the field under the label, above the input element.
*/
description: PropTypes.node,

/**
* A optional hint under the input element.
* An optional hint under the input element.
*/
hint: PropTypes.node,

Expand Down
6 changes: 3 additions & 3 deletions src/text-input/src/TextInputField.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ export default class TextInputField extends PureComponent {
labelFor: PropTypes.string,

/**
* Wether or not show a asterix after the label.
* Whether or not to show an asterix after the label.
*/
isRequired: PropTypes.bool,

/**
* A optional description of the field under the label, above the input element.
* An optional description of the field under the label, above the input element.
*/
description: PropTypes.node,

/**
* A optional hint under the input element.
* An optional hint under the input element.
*/
hint: PropTypes.node,

Expand Down

0 comments on commit 3a92e2f

Please sign in to comment.