-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
<View style={container}>
<StatusBarComponent backgroundColor='#fff' barStyle="dark-content" />
<View
style={{
width: width / 1.2,
marginBottom: width / 5,
}}
>
<NavigationBar
style={{
zIndex: 1,
padding: 20
}}
leftComponent={
<Title
onPress={() => this.openSearchModalForMyLocation()}
>
FROM
</Title>
}
centerComponent={
<Title
onPress={() => this.openSearchModalForMyDestination()}
>
TO
</Title>
}
rightComponent={
<DropDownMenu
options={this.state.filters}
selectedOption={this.state.selectedSlot ? this.state.selectedSlot : this.state.filters[0]}
onOptionSelected={(filter) => this.setState({ selectedSlot: filter }, () => this.calculatePrice())}
titleProperty="name"
valueProperty="value"
visibleOptions={5}
vertical
/>
}
/>
</View>
</View>
Metadata
Metadata
Assignees
Labels
No labels