fixed the budget element and implemented onPress
This commit is contained in:
parent
deda54152b
commit
7606c5d1b8
3 changed files with 50 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { StyleSheet, Text, TouchableHighlight, View } from "react-native";
|
||||
import TextInputBar from "../common/TextInputBar";
|
||||
import { useTheme } from "../../app/contexts/ThemeContext";
|
||||
import TextInputBar from "../common/TextInputBar";
|
||||
|
||||
type BudgetHeaderProperties = {
|
||||
selectedPage: string,
|
||||
|
|
@ -34,7 +34,7 @@ const BudgetHeader = (properties: BudgetHeaderProperties) => {
|
|||
}}
|
||||
/>
|
||||
</View>
|
||||
<TextInputBar placeholder='Search...'></TextInputBar>
|
||||
<TextInputBar style={styles.searchBarStyle} placeholder='Search...'></TextInputBar>
|
||||
</>);
|
||||
}
|
||||
|
||||
|
|
@ -81,4 +81,8 @@ const styles = StyleSheet.create({
|
|||
marginBottom: 20,
|
||||
marginTop: 10,
|
||||
},
|
||||
searchBarStyle: {
|
||||
marginBottom: 20,
|
||||
marginHorizontal: 10,
|
||||
}
|
||||
});
|
||||
Reference in a new issue