From 42348b281c6d82a0f39eb410a1b7694e99daccf9 Mon Sep 17 00:00:00 2001 From: Michele Balistreri Date: Tue, 8 Oct 2024 16:55:19 +0200 Subject: [PATCH] fix indentation --- src/components/SubMenuModal.tsx | 57 ++++++++++++++++----------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/src/components/SubMenuModal.tsx b/src/components/SubMenuModal.tsx index 288e861..acedfa4 100644 --- a/src/components/SubMenuModal.tsx +++ b/src/components/SubMenuModal.tsx @@ -13,45 +13,44 @@ type SubMenuProps = { const SubMenuModal: FC = props => { const {isVisible, onLogout, onFactoryReset, onChangeFunc} = props; - + return ( - - - Factory Reset - - - - Logout - - + + + Factory Reset + + + + Logout + + )}; - + const styles = StyleSheet.create({ container: { - justifyContent: 'center', - top: '15%', - right: '2.5%', - margin: 0, - position: 'absolute', - backgroundColor: '#333333', - borderRadius: 5, - }, + justifyContent: 'center', + top: '15%', + right: '2.5%', + margin: 0, + position: 'absolute', + backgroundColor: '#333333', + borderRadius: 5, + }, submenuContent: { - + }, itemContainer: { - paddingVertical: 20, - paddingLeft: 20, - paddingRight: 80 + paddingVertical: 20, + paddingLeft: 20, + paddingRight: 80 }, menuText: { - color: 'white', - fontFamily: 'Inter', - fontSize: 14 + color: 'white', + fontFamily: 'Inter', + fontSize: 14 } }); - -export default SubMenuModal; \ No newline at end of file + + export default SubMenuModal; \ No newline at end of file