import { ViewStyle, ImageStyle, TextStyle, StyleSheet, Animated, } from "react-native"; export const _container = ( borderColor: string, borderWidth: number, ): ViewStyle => ({ flex: 1, borderWidth, borderColor, backgroundColor: "transparent", marginTop: 10, borderRadius: 12, overflow: "hidden", paddingVertical: 16, alignItems: "center", flexDirection: "row", justifyContent: "space-between", }); export const _animatedViewStyle = ( backgroundColor: string, animatedWidth: Animated.AnimatedInterpolation, ): ViewStyle => ({ backgroundColor, width: animatedWidth, }); interface Style { container: ViewStyle; choiceTextStyle: TextStyle; pollItemContainer: ViewStyle; percentageTextStyle: TextStyle; checkMarkImageStyle: ImageStyle; } export default StyleSheet.create