Bold text - React Native

On React Native, the isBoldTextEnabled() method of AccessibilityInfo can be used to check whether the user prefers bold text.

Note: it only checks the preference on iOS. Android is not yet supported.

import { AccessibilityInfo } from "react-native";

if (AccessibilityInfo.isBoldTextEnabled()) {
    // Use bold text
}