{"size": 455, "ext": "js", "max_stars_repo_path": "components/Subtitle.js", "max_stars_repo_name": "andreyluiz/react-native-components", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "components/Subtitle.js", "max_issues_repo_name": "andreyluiz/react-native-components", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "components/Subtitle.js", "max_forks_repo_name": "andreyluiz/react-native-components", "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": 23.9473684211, "max_line_length": 60, "alphanum_fraction": 0.6351648352}
import React from 'react';
import { View, Text } from 'react-native';
import { Colors } from '../utils/Colors';

export default class Subtitle extends React.Component {
  render() {
    return (
      <View style={styles.container}>
        <Text style={styles.text}>{ this.props.text }</Text>
      </View>
    )
  }
}

const styles = {
  container: { height: 48, justifyContent: 'center' },
  text: { fontWeight: 'bold', color: Colors.primary_color }
}
