You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InviteContactsSection.js 665B

1234567891011121314151617181920212223242526272829303132
  1. // @flow
  2. import React from 'react';
  3. import { translate } from '../../../../base/i18n';
  4. import InviteContactsForm from './InviteContactsForm';
  5. type Props = {
  6. /**
  7. * Invoked to obtain translated strings.
  8. */
  9. t: Function
  10. };
  11. /**
  12. * Component that represents the invitation section of the {@code AddPeopleDialog}.
  13. *
  14. * @returns {ReactElement$<any>}
  15. */
  16. function InviteContactsSection({ t }: Props) {
  17. return (
  18. <>
  19. <span>{t('addPeople.addContacts')}</span>
  20. <InviteContactsForm />
  21. <div className = 'invite-more-dialog separator' />
  22. </>
  23. );
  24. }
  25. export default translate(InviteContactsSection);