Merge pull request #5000 from swapnilraj/swapnilraj/update-discovery-checkbox
Update checkbox
This commit is contained in:
commit
82f6a6b710
1 changed files with 4 additions and 2 deletions
|
@ -19,6 +19,7 @@ import PropTypes from "prop-types";
|
||||||
import {_t, pickBestLanguage} from "../../../languageHandler";
|
import {_t, pickBestLanguage} from "../../../languageHandler";
|
||||||
import * as sdk from "../../..";
|
import * as sdk from "../../..";
|
||||||
import {objectClone} from "../../../utils/objects";
|
import {objectClone} from "../../../utils/objects";
|
||||||
|
import StyledCheckbox from "../elements/StyledCheckbox";
|
||||||
|
|
||||||
export default class InlineTermsAgreement extends React.Component {
|
export default class InlineTermsAgreement extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
|
@ -90,8 +91,9 @@ export default class InlineTermsAgreement extends React.Component {
|
||||||
<div key={i} className='mx_InlineTermsAgreement_cbContainer'>
|
<div key={i} className='mx_InlineTermsAgreement_cbContainer'>
|
||||||
<div>{introText}</div>
|
<div>{introText}</div>
|
||||||
<div className='mx_InlineTermsAgreement_checkbox'>
|
<div className='mx_InlineTermsAgreement_checkbox'>
|
||||||
<input type='checkbox' onChange={() => this._togglePolicy(i)} checked={policy.checked} />
|
<StyledCheckbox onChange={() => this._togglePolicy(i)} checked={policy.checked}>
|
||||||
{_t("Accept")}
|
{_t("Accept")}
|
||||||
|
</StyledCheckbox>
|
||||||
</div>
|
</div>
|
||||||
</div>,
|
</div>,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue