From b505c851d3dfffc2f2efd12d99422ba3727ba88e Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 14 Dec 2020 16:37:21 -0500 Subject: added icons (#139) Co-authored-by: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> --- src/components/onboarding/TaggInput.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/components') diff --git a/src/components/onboarding/TaggInput.tsx b/src/components/onboarding/TaggInput.tsx index fe11d4f0..12d99325 100644 --- a/src/components/onboarding/TaggInput.tsx +++ b/src/components/onboarding/TaggInput.tsx @@ -6,7 +6,6 @@ interface TaggInputProps extends TextInputProps { valid?: boolean; invalidWarning?: string; attemptedSubmit?: boolean; - width?: number | string; } /** * An input component that receives all props a normal TextInput component does. TaggInput components grow to 60% of their parent's width by default, but this can be set using the `width` prop. @@ -15,7 +14,7 @@ const TaggInput = React.forwardRef((props: TaggInputProps, ref: any) => { return ( { const styles = StyleSheet.create({ container: { - width: '100%', alignItems: 'center', marginVertical: 11, }, input: { + width: '100%', minWidth: '60%', height: 40, fontSize: 16, -- cgit v1.2.3-70-g09d2