Fixing redesign-settings prettier & lint => CI
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
import React, { useState } from 'react';
|
||||
import { StyleSheet, ActivityIndicator, View, Image, StyleProp, ViewStyle } from 'react-native';
|
||||
import Ionicons from '@expo/vector-icons/Ionicons';
|
||||
import InteractiveBase from './InteractiveBase';
|
||||
import { Text, useTheme } from 'native-base';
|
||||
// import { BlurView } from 'expo-blur';
|
||||
|
||||
interface ButtonProps {
|
||||
title?: string;
|
||||
style?: StyleProp<ViewStyle>;
|
||||
onPress?: () => Promise<any>;
|
||||
onPress?: () => Promise<void>;
|
||||
isDisabled?: boolean;
|
||||
icon?: (size: string, color: string) => React.ReactNode;
|
||||
iconImage?: string;
|
||||
isCollapsed?: boolean;
|
||||
type: 'filled' | 'outlined' | 'menu';
|
||||
}
|
||||
|
||||
@@ -23,7 +20,6 @@ const ButtonBase: React.FC<ButtonProps> = ({
|
||||
isDisabled,
|
||||
icon,
|
||||
iconImage,
|
||||
isCollapsed,
|
||||
type = 'filled',
|
||||
}) => {
|
||||
const { colors } = useTheme();
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Animated, StyleSheet, StyleProp, ViewStyle } from 'react-native';
|
||||
|
||||
interface InteractiveBaseProps {
|
||||
children?: React.ReactNode;
|
||||
onPress?: () => Promise<any>;
|
||||
onPress?: () => Promise<void>;
|
||||
isDisabled?: boolean;
|
||||
isOutlined?: boolean;
|
||||
style?: StyleProp<ViewStyle>;
|
||||
@@ -229,7 +229,7 @@ const InteractiveBase: React.FC<InteractiveBaseProps> = ({
|
||||
shadowOpacity: shadowOpacityValue,
|
||||
shadowRadius: shadowRadiusValue,
|
||||
elevation: elevationValue,
|
||||
},
|
||||
},
|
||||
]}
|
||||
>
|
||||
<Pressable
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
import React, { useState } from 'react';
|
||||
import { StyleSheet, ActivityIndicator, View, Image } from 'react-native';
|
||||
// import Ionicons from '@expo/vector-icons/Ionicons';
|
||||
import React from 'react';
|
||||
import { StyleSheet, View } from 'react-native';
|
||||
import InteractiveBase from './InteractiveBase';
|
||||
import { Text, useTheme } from 'native-base';
|
||||
// import { BlurView } from 'expo-blur';
|
||||
import { Text } from 'native-base';
|
||||
|
||||
interface SettingProps {
|
||||
icon: (size: number, color: string) => React.ReactNode;
|
||||
title: string;
|
||||
description?: string;
|
||||
onPress?: () => Promise<any>;
|
||||
onPress?: () => Promise<void>;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Eye, EyeSlash } from 'iconsax-react-native';
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import React, { useState } from 'react';
|
||||
import { View, TouchableOpacity, StyleSheet, StyleProp, ViewStyle } from 'react-native';
|
||||
import InteractiveBase from './InteractiveBase';
|
||||
import { Input } from 'native-base';
|
||||
|
||||
Reference in New Issue
Block a user