* feat: integrate SNJS MFA with web * fix: create rudimentary typings file for qrcode.react * chore: lint fixes * fix: address PR feedback * fix: address PR feedback * fix: address PR feedback 2 * fix: replace spread props on TwoFactorAuthWrapper component * chore: change null check to undefined check
13 lines
426 B
TypeScript
13 lines
426 B
TypeScript
import { FunctionComponent } from 'preact';
|
|
import { PreferencesPane } from '../components';
|
|
import { TwoFactorAuthWrapper } from './two-factor-auth';
|
|
import { MfaProps } from './two-factor-auth/MfaProps';
|
|
|
|
interface SecurityProps extends MfaProps {}
|
|
|
|
export const Security: FunctionComponent<SecurityProps> = (props) => (
|
|
<PreferencesPane>
|
|
<TwoFactorAuthWrapper mfaGateway={props.mfaGateway} />
|
|
</PreferencesPane>
|
|
);
|