Skip to content

Commit

Permalink
Merge pull request #354 from Fs00/master
Browse files Browse the repository at this point in the history
[React] Allow 'unset' value for verticalAlign property
  • Loading branch information
jonrohan committed Nov 1, 2019
2 parents dce1ae0 + eafe2a0 commit 10c530b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/octicons_react/src/index.d.ts
Expand Up @@ -10,7 +10,7 @@ export interface OcticonProps {
height?: number
icon: Icon
size?: number | Size
verticalAlign?: 'middle' | 'text-bottom' | 'text-top' | 'top'
verticalAlign?: 'middle' | 'text-bottom' | 'text-top' | 'top' | 'unset'
width?: number
}

Expand Down
2 changes: 1 addition & 1 deletion lib/octicons_react/src/index.js
Expand Up @@ -62,7 +62,7 @@ Octicon.propTypes = {
height: PropTypes.number,
icon: PropTypes.func,
size: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(Object.keys(sizeMap))]),
verticalAlign: PropTypes.oneOf(['middle', 'text-bottom', 'text-top', 'top']),
verticalAlign: PropTypes.oneOf(['middle', 'text-bottom', 'text-top', 'top', 'unset']),
width: PropTypes.number
}

Expand Down

0 comments on commit 10c530b

Please sign in to comment.