{"size": 571, "ext": "js", "max_stars_repo_path": "src/modules/UI/components/CryptoExchangeRate/CryptoExchangeRate.js", "max_stars_repo_name": "chinitadelrey/edge-react-gui", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/modules/UI/components/CryptoExchangeRate/CryptoExchangeRate.js", "max_issues_repo_name": "chinitadelrey/edge-react-gui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/modules/UI/components/CryptoExchangeRate/CryptoExchangeRate.js", "max_forks_repo_name": "chinitadelrey/edge-react-gui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.8260869565, "max_line_length": 104, "alphanum_fraction": 0.6409807356}
//@flow
import React, {Component} from 'react'
import {View, Text} from 'react-native'
type Props = {
  exchangeRate: string,
  style: any
}
export default class CryptoExchageRate extends Component<Props> {
  render () {
    const {
      container,
      containerError,
      text,
      textError
    } = this.props.style
    return (
      <View style={[container, (this.props.insufficient || this.props.genericError) && containerError]}>
          <Text style={[text,this.props.insufficient && textError ]}>{this.props.exchangeRate}</Text>
      </View>
    )
  }
}
