import React, { FC } from 'react'; import { connect } from 'react-redux'; import { NavModel } from '@grafana/data'; import Page from 'app/core/components/Page/Page'; import { contextSrv } from 'app/core/core'; import { getNavModel } from 'app/core/selectors/navModel'; import { StoreState } from 'app/types/store'; import UserInviteForm from './UserInviteForm'; interface Props { navModel: NavModel; } export const UserInvitePage: FC = ({ navModel }) => { return (

Invite user

Send invitation or add existing Grafana user to the organization. {contextSrv.user.orgName}
); }; const mapStateToProps = (state: StoreState) => ({ navModel: getNavModel(state.navIndex, 'users'), }); export default connect(mapStateToProps)(UserInvitePage);