Skip to content

Commit

Permalink
fix(exoflex): minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oshimayoan committed Mar 16, 2020
1 parent bf1b659 commit 888f92f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions packages/exoflex/src/components/RichRadioButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function RichRadioButton(props: RichRadioButtonProps) {
let combinedTextStyle = [
themeStyle?.richRadioButton?.textStyle,
textStyle,
] as ViewStyle;
] as TextStyle;

return (
<ScrollView
Expand All @@ -77,13 +77,11 @@ export default function RichRadioButton(props: RichRadioButtonProps) {
key={item.label}
activeOpacity={0.7}
onPress={() => onValueChanged(item.value)}
style={
[
combinedItemStyle,
isFirstItem && firstItemStyle,
isSelected && selectedStyle,
] as ViewStyle
}
style={[
combinedItemStyle,
isFirstItem && firstItemStyle,
isSelected && selectedStyle,
]}
>
{!!renderCustomItemContent ? (
renderCustomItemContent(item.label)
Expand Down

0 comments on commit 888f92f

Please sign in to comment.