text: // @flow
  import * as React from 'react'
  import {Text} from '../../../common-adapters'
  import {Wrapper, ContinueButton} from '../common'
  
  type Props = {|
    error: string,
    onBack: () => void,
  |}
  
  const Error = (props: Props) => (
    <Wrapper onBack={() => {}}>
      <Text center={true} type="Header" style={{maxWidth: 460, width: '80%'}}>
        Ah Shoot! Something went wrong, wanna try again?
      </Text>
      <Text type="BodySmallError">{props.error}</Text>
      <ContinueButton label="Back" onClick={props.onBack} />
    </Wrapper>
  )
  
  export default Error
  