Adjust AlphabetScroller appearance

This commit is contained in:
Lei Nelissen
2020-07-05 22:26:36 +02:00
parent f5cfad326c
commit 5df929752c

View File

@@ -35,6 +35,8 @@ const Container = styled.View`
const Letter = styled.Text`
text-align: center;
padding: 1px 0;
font-size: 12px;
color: salmon;
`;
interface Props {
@@ -62,7 +64,7 @@ const AlphabetScroller: React.FC<Props> = ({ onSelect }) => {
setIndex(newIndex);
onSelect(newIndex);
}
}, [height, index]);
}, [height, index, onSelect]);
return (
<Container>