Skip to content

Commit

Permalink
Added brandId on propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
iaron committed Nov 19, 2019
1 parent a461601 commit cb9812b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- `brandId` on the propTypes.

## [2.45.0] - 2019-11-11
### Added
Expand Down
2 changes: 2 additions & 0 deletions react/utils/propTypes.js
Expand Up @@ -31,6 +31,8 @@ export const productShape = PropTypes.shape({
productName: PropTypes.string.isRequired,
/** Product's brand */
brand: PropTypes.string,
/** Product's brand id */
brandId: PropTypes.number,
/** Product's SKU */
sku: PropTypes.shape({
/** SKU name */
Expand Down

0 comments on commit cb9812b

Please sign in to comment.