diff --git a/src/pages/workspace/WorkspaceInvitePage.js b/src/pages/workspace/WorkspaceInvitePage.js index 0fbf26c490fa..8a6e47a66203 100644 --- a/src/pages/workspace/WorkspaceInvitePage.js +++ b/src/pages/workspace/WorkspaceInvitePage.js @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import {TextInput, View} from 'react-native'; +import {ScrollView, TextInput, View} from 'react-native'; import {withOnyx} from 'react-native-onyx'; import Str from 'expensify-common/lib/str'; import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize'; @@ -17,6 +17,8 @@ import TextLink from '../../components/TextLink'; import getEmailKeyboardType from '../../libs/getEmailKeyboardType'; import themeColors from '../../styles/themes/default'; import Growl from '../../libs/Growl'; +import KeyboardAvoidingView from '../../components/KeyboardAvoidingView'; +import FixedFooter from '../../components/FixedFooter'; const propTypes = { ...withLocalizePropTypes, @@ -83,51 +85,53 @@ class WorkspaceInvitePage extends React.Component { render() { return ( - - - - - {this.props.translate('workspace.invite.invitePeoplePrompt')} - - - - {this.props.translate('workspace.invite.enterEmailOrPhone')} + + + + + + {this.props.translate('workspace.invite.invitePeoplePrompt')} - this.setState({emailOrPhone: text})} - /> + + + {this.props.translate('workspace.invite.enterEmailOrPhone')} + + this.setState({emailOrPhone: text})} + /> + + + + {this.props.translate('workspace.invite.personalMessagePrompt')} + + this.setState({welcomeNote: text})} + /> + + {this.props.translate('common.privacy')} + + - - - {this.props.translate('workspace.invite.personalMessagePrompt')} - - this.setState({welcomeNote: text})} - /> - - {this.props.translate('common.privacy')} - - - - + +