summaryrefslogtreecommitdiffstats
path: root/web/react/pages/claim_account.jsx
blob: bca203d96f0edc8908065e5269046e97e70117f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

import ClaimAccount from '../components/claim/claim_account.jsx';

function setupClaimAccountPage(props) {
    ReactDOM.render(
        <ClaimAccount
            email={props.Email}
            currentType={props.CurrentType}
            newType={props.NewType}
            teamName={props.TeamName}
            teamDisplayName={props.TeamDisplayName}
        />,
        document.getElementById('claim')
    );
}

global.window.setup_claim_account_page = setupClaimAccountPage;