From d71d20489c5d4e7038ebbb8dc183fc352d87b409 Mon Sep 17 00:00:00 2001 From: Henrique Bruno Date: Fri, 1 Oct 2021 05:01:56 -0300 Subject: [PATCH] fix: Change style propType of Input from View to Text (#124) Change propTypes of Input to allow styles like fontSize to be passed. --- src/Input.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Input.tsx b/src/Input.tsx index 753ade2..50ef92f 100644 --- a/src/Input.tsx +++ b/src/Input.tsx @@ -70,6 +70,7 @@ DialogInput.propTypes = { wrapperStyle: ViewPropTypes.style, numberOfLines: PropTypes.number, multiline: PropTypes.bool, + style: (Text as any).propTypes.style, }; DialogInput.displayName = "DialogInput";