DS
Size: a a a
DS
VP
DS
A
DS
VP
AZ
ER
AZ
export const setDefaultFont = (): void => {
const oldTextRender = Text.render;
Text.render = function (...args) {
const origin = oldTextRender.call(this, ...args);
return React.cloneElement(origin, {
style: [{ fontFamily: 'Твой кастомный шрифт' }, origin.props.style],
allowFontScaling: false,
});
};
};VP
VP
AZ
ER
AZ
ER
AZ
ER
AZ
ER