This repository has been archived on 2025-06-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dusken-client/native-base-theme/components/Title.js
T
2017-08-18 00:13:33 +02:00

16 lines
389 B
JavaScript

import { Platform } from "react-native";
import variable from "./../variables/platform";
export default (variables = variable) => {
const titleTheme = {
fontSize: variables.titleFontSize,
fontFamily: variables.titleFontfamily,
color: variables.titleFontColor,
fontWeight: Platform.OS === "ios" ? "600" : undefined,
textAlign: "center"
};
return titleTheme;
};