// @flow

import {Component} from 'react'
import type {Mode, DeviceRole} from '../../../constants/login'

export type Props = {
  mode: Mode,
  textCode: string,
  qrCode: string,
  myDeviceRole: DeviceRole,
  otherDeviceRole: DeviceRole,
  cameraBrokenMode: boolean,
  setCodePageMode: (requestedMode: Mode) => void,
  qrScanned: Function,
  setCameraBrokenMode: Function,
  textEntered: Function,
  onChangeText: Function,
  doneRegistering: Function,
  onBack: Function,
  enterText: string
}

export default class CodePageRender extends Component<void, Props, void> {}
