Change arrow and info icons
This commit is contained in:
@@ -5,7 +5,8 @@ import {
|
|||||||
Dimensions
|
Dimensions
|
||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
import styles, { iconStyles } from '../styles'
|
import styles, { iconStyles } from '../styles'
|
||||||
import Icon from 'react-native-vector-icons/MaterialCommunityIcons'
|
import Icon from 'react-native-vector-icons/Entypo'
|
||||||
|
import FeatherIcon from 'react-native-vector-icons/Feather'
|
||||||
import { formatDateForViewHeader } from '../components/cycle-day/labels/format'
|
import { formatDateForViewHeader } from '../components/cycle-day/labels/format'
|
||||||
|
|
||||||
|
|
||||||
@@ -17,7 +18,7 @@ export default class Header extends Component {
|
|||||||
<View style={[styles.header, styles.headerCycleDay]}>
|
<View style={[styles.header, styles.headerCycleDay]}>
|
||||||
<View style={styles.accentCircle} left={middle - styles.accentCircle.width / 2}/>
|
<View style={styles.accentCircle} left={middle - styles.accentCircle.width / 2}/>
|
||||||
<Icon
|
<Icon
|
||||||
name='arrow-left-drop-circle'
|
name='chevron-thin-left'
|
||||||
{...iconStyles.navigationArrow}
|
{...iconStyles.navigationArrow}
|
||||||
onPress={() => this.props.goToCycleDay('before')}
|
onPress={() => this.props.goToCycleDay('before')}
|
||||||
/>
|
/>
|
||||||
@@ -31,7 +32,7 @@ export default class Header extends Component {
|
|||||||
</Text>}
|
</Text>}
|
||||||
</View >
|
</View >
|
||||||
<Icon
|
<Icon
|
||||||
name='arrow-right-drop-circle'
|
name='chevron-thin-right'
|
||||||
{...iconStyles.navigationArrow}
|
{...iconStyles.navigationArrow}
|
||||||
onPress={() => this.props.goToCycleDay('after')}
|
onPress={() => this.props.goToCycleDay('after')}
|
||||||
/>
|
/>
|
||||||
@@ -40,8 +41,8 @@ export default class Header extends Component {
|
|||||||
<View style={[styles.header, styles.headerSymptom]}>
|
<View style={[styles.header, styles.headerSymptom]}>
|
||||||
<View style={styles.accentCircle} left={middle - styles.accentCircle.width / 2}/>
|
<View style={styles.accentCircle} left={middle - styles.accentCircle.width / 2}/>
|
||||||
<Icon
|
<Icon
|
||||||
name='keyboard-backspace'
|
name='chevron-thin-left'
|
||||||
{...iconStyles.symptomHeaderIcons}
|
{...iconStyles.navigationArrow}
|
||||||
onPress={() => this.props.goBack()}
|
onPress={() => this.props.goBack()}
|
||||||
|
|
||||||
/>
|
/>
|
||||||
@@ -50,8 +51,8 @@ export default class Header extends Component {
|
|||||||
{this.props.title}
|
{this.props.title}
|
||||||
</Text>
|
</Text>
|
||||||
</View >
|
</View >
|
||||||
<Icon
|
<FeatherIcon
|
||||||
name='information-outline'
|
name='info'
|
||||||
{...iconStyles.symptomHeaderIcons}
|
{...iconStyles.symptomHeaderIcons}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
+1
-1
@@ -322,7 +322,7 @@ export default StyleSheet.create({
|
|||||||
|
|
||||||
export const iconStyles = {
|
export const iconStyles = {
|
||||||
navigationArrow: {
|
navigationArrow: {
|
||||||
size: 45,
|
size: 20,
|
||||||
color: fontOnPrimaryColor
|
color: fontOnPrimaryColor
|
||||||
},
|
},
|
||||||
symptomHeaderIcons: {
|
symptomHeaderIcons: {
|
||||||
|
|||||||
Reference in New Issue
Block a user