TitleFontSize
This font size is the default for titles in lists, items, text entries, and buttons on Android and iOS.
- Light Theme
- Dark Theme
Usage
import React from 'react';
import { Text } from "react-native";
// React Native UI DevKit
import { TitleFontSize } from 'react-native-ui-devkit';
const App = () => {
return (
<Text style={[TitleFontSize(), { color: "#000000" }]}>Text</Text>
);
}
export default App;
This function must be used in the text component's style property.