Skip to content

Commit

Permalink
Update: adding a couple of propTypes spreads
Browse files Browse the repository at this point in the history
  • Loading branch information
stevematney committed May 4, 2023
1 parent f509f6a commit ec5e8ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/es-components/src/components/base/icons/Icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const Icon = React.forwardRef(function ForwardedIcon(
});

export const propTypes = {
...StyledIcon.propTypes,
/** Name of the icon to display */
name: PropTypes.string,
/** Specify icon size in pixels */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ function AnswerButton({
}

export const propTypes = {
...AnswerInput.propTypes,
name: PropTypes.string,
children: PropTypes.node,
itemWidth: PropTypes.string,
Expand Down

0 comments on commit ec5e8ae

Please sign in to comment.