Fix form keyboard issues and sticky footers in agent screens

This commit is contained in:
Abin Toppo
2026-05-26 16:34:05 +05:30
commit 9ac5e95d52
410 changed files with 86650 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
/**
* @format
*/
import { AppRegistry, Text, TextInput } from 'react-native';
import App from './App';
import { name as appName } from './app.json';
const customTextProps = {
style: {
fontFamily: 'Nunito-Regular',
}
};
if (Text.defaultProps) {
Text.defaultProps.style = { ...Text.defaultProps.style, ...customTextProps.style };
} else {
Text.defaultProps = customTextProps;
}
if (TextInput.defaultProps) {
TextInput.defaultProps.style = { ...TextInput.defaultProps.style, ...customTextProps.style };
} else {
TextInput.defaultProps = customTextProps;
}
AppRegistry.registerComponent(appName, () => App);