mobile/src/components/TabBarLabel.js
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>
);
};