Skip to main content

DescriptionFontSize

This font size is used in descriptions for lists, items, and buttons on Android and iOS.

Example banner

Usage

import React from 'react';
import { Text } from "react-native";

// React Native UI DevKit
import { DescriptionFontSize } from 'react-native-ui-devkit';

const App = () => {
return (
<Text style={[DescriptionFontSize(), { color: "#000000" }]}>Text</Text>
);
}

export default App;

This function must be used in the text component's style property.