UNPKG

matrix-react-sdk

Version:
27 lines (26 loc) 670 B
import React from "react"; import { ServicePolicyPair } from "../../../Terms"; interface IProps { policiesAndServicePairs: ServicePolicyPair[]; onFinished: (accepted: string[]) => void; agreedUrls: string[]; introElement: React.ReactNode; } interface IState { policies: Policy[]; busy: boolean; } interface Policy { checked: boolean; url: string; name: string; } export default class InlineTermsAgreement extends React.Component<IProps, IState> { constructor(props: IProps); componentDidMount(): void; private togglePolicy; private onContinue; private renderCheckboxes; render(): React.ReactNode; } export {};