Commit ad6996b4 by tungnq

TODO: Đã fix viết chữ bị tràn ra nút tìm kiếm

parent 469269bd
......@@ -31,7 +31,7 @@ const customHeader = props => {
stroke={R.colors.white}
stroke-width={2}
/>
<View style={styles.size_box_2}></View>
<View style = {{flex: 1}}>
<TextInput
value={value}
onChangeText={onChangeText}
......@@ -40,6 +40,8 @@ const customHeader = props => {
style={styles.input}
/>
</View>
</View>
</View>
);
};
......
......@@ -35,6 +35,7 @@ const styles = StyleSheet.create({
padding: 0,
fontFamily: R.fonts.InterRegular,
fontWeight: '400',
width: '100%',
},
/* -------------------------------------------------------------------------- */
/* Body */
......
......@@ -10,8 +10,8 @@ import {
Keyboard,
Image,
StatusBar,
Platform,
SafeAreaView,
LogBox,
} from 'react-native';
import HeaderCus from '../home/header';
import R from '../../assets/R';
......@@ -20,12 +20,14 @@ import ItemGrid from './item';
import styles from './style';
import {useNavigation} from '@react-navigation/native';
const HomeView = props => {
LogBox.ignoreAllLogs();
const {
menuDataStudy,
menuDataIndividual,
menuDataOnlineSer,
selectedMenuItem,
searchText,
userProfile,
onMenuItemPress,
......@@ -34,7 +36,6 @@ const HomeView = props => {
} = props;
const ArrowRightIcon = R.images.icArrowRight;
const navigate = useNavigation();
const renderMenuItem = React.useCallback(
({item}) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment