Skip to content

Commit

Permalink
fix: Change style propType of Input from View to Text (#124)
Browse files Browse the repository at this point in the history
Change propTypes of Input to allow styles like fontSize to be passed.
  • Loading branch information
SrBrahma authored Oct 1, 2021
1 parent 68e22c6 commit d71d204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ DialogInput.propTypes = {
wrapperStyle: ViewPropTypes.style,
numberOfLines: PropTypes.number,
multiline: PropTypes.bool,
style: (Text as any).propTypes.style,
};

DialogInput.displayName = "DialogInput";
Expand Down

0 comments on commit d71d204

Please sign in to comment.