FredericHeem/starhackit

View on GitHub
mobile/src/components/TabBarLabel.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from "react";

export default context => {
  const Text = require("components/Text").default(context);

  return ({ name, focused, tintColor }) => (
    <Text
      bold={focused}
      style={{
        fontSize: 13,
        margin: 2,
        padding: 0,
        color: tintColor,
        textAlign: "center"
      }}
    >
      {name}
    </Text>
  );
};