From 0468c38b0ee94158736bc0cac30830f13a202d5a Mon Sep 17 00:00:00 2001 From: Gonzalo Lopez Date: Wed, 6 Sep 2023 12:17:05 -0300 Subject: [PATCH] styles were relocated --- src/components/RadioButton/index.tsx | 48 ++++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/components/RadioButton/index.tsx b/src/components/RadioButton/index.tsx index f3f3b87..5d010cf 100644 --- a/src/components/RadioButton/index.tsx +++ b/src/components/RadioButton/index.tsx @@ -26,6 +26,30 @@ interface RadioButtonProps { style?: ViewStyle; } +const styles = StyleSheet.create({ + container: { + alignItems: 'center', + paddingHorizontal: 16, + marginVertical: 10, + height: 'auto', + }, + + row: { + flexDirection: 'row', + justifyContent: 'flex-start', + }, + reverseRow: { + flexDirection: 'row-reverse', + justifyContent: 'space-between', + }, + checkToLeft: { + marginLeft: 15, + }, + checkToRight: { + marginRight: 15, + }, +}); + const RadioButton = ({ children, onPress, @@ -64,28 +88,4 @@ const RadioButton = ({ ); }; -const styles = StyleSheet.create({ - container: { - alignItems: 'center', - paddingHorizontal: 16, - marginVertical: 10, - height: 'auto', - }, - - row: { - flexDirection: 'row', - justifyContent: 'flex-start', - }, - reverseRow: { - flexDirection: 'row-reverse', - justifyContent: 'space-between', - }, - checkToLeft: { - marginLeft: 15, - }, - checkToRight: { - marginRight: 15, - }, -}); - export default RadioButton;