Skip to main content

TitleFontSize

This font size is the default for titles in lists, items, text entries, and buttons on Android and iOS.

Example banner

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.