Skip to content

Commit

Permalink
fix(dropdown): Update text labels
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamCallao committed Mar 5, 2024
1 parent 65cf166 commit 742e769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DropdownSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ const DropdownSelector = ({ selectedOption, onOptionChange }) => {
<Text style={styles.triggerText}>
{selectedOption.charAt(0).toUpperCase() + selectedOption.slice(1)}
</Text>
<FontAwesome5 name={menuVisible ? "chevron-up" : "chevron-down"} size={20} color="#2E3233" />
<FontAwesome5 name={menuVisible ? "chevron-up" : "chevron-down"} size={20} color="white" />
</View>
</MenuTrigger>
<MenuOptions customStyles={styles.menuOptions}>
<MenuOption onSelect={() => { onOptionChange("today"); setMenuVisible(false); }}>
<MenuOption onSelect={() => { onOptionChange("Hoy"); setMenuVisible(false); }}>
<Text style={styles.optionText}>Estoy cansado jefe</Text>
</MenuOption>
{/* Add */}
Expand Down

0 comments on commit 742e769

Please sign in to comment.