mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
Merge pull request #1167 from esteemapp/refactor/components-str
import/export refact for components [should review after profile !!]
This commit is contained in:
commit
e20eecb8b6
@ -1 +1,3 @@
|
|||||||
export { default } from './view/checkboxView';
|
import CheckBox from './view/checkboxView';
|
||||||
|
|
||||||
|
export { CheckBox };
|
||||||
|
@ -1,37 +1,182 @@
|
|||||||
import { CircularButton, TextButton, IconButton } from './buttons';
|
import { AvatarHeader } from './avatarHeader';
|
||||||
|
import { BasicHeader } from './basicHeader';
|
||||||
|
import { BottomTabBar } from './bottomTabBar';
|
||||||
|
import { CheckBox } from './checkbox';
|
||||||
|
import { CircularButton, TextButton, SquareButton } from './buttons';
|
||||||
|
import { CollapsibleCard } from './collapsibleCard';
|
||||||
|
import { ContainerHeader } from './containerHeader';
|
||||||
|
import { DateTimePicker } from './dateTimePicker';
|
||||||
|
import { DropdownButton } from './dropdownButton';
|
||||||
|
import { FilterBar } from './filterBar';
|
||||||
|
import { FormatedCurrency } from './formatedElements';
|
||||||
import { FormInput } from './formInput';
|
import { FormInput } from './formInput';
|
||||||
|
import { Header } from './header';
|
||||||
|
import { Icon } from './icon';
|
||||||
|
import { IconButton } from './iconButton';
|
||||||
|
import { InformationArea } from './informationArea';
|
||||||
|
import { InformationBox } from './informationBox';
|
||||||
|
import { LoginHeader } from './loginHeader';
|
||||||
|
import { MainButton } from './mainButton';
|
||||||
|
import { MarkdownEditor } from './markdownEditor';
|
||||||
|
import { Modal } from './modal';
|
||||||
|
import { NotificationLine } from './notificationLine';
|
||||||
import { NumericKeyboard } from './numericKeyboard';
|
import { NumericKeyboard } from './numericKeyboard';
|
||||||
|
import { ParentPost } from './parentPost';
|
||||||
|
import { PercentBar } from './percentBar';
|
||||||
import { PinAnimatedInput } from './pinAnimatedInput';
|
import { PinAnimatedInput } from './pinAnimatedInput';
|
||||||
|
import { PostCard } from './postCard';
|
||||||
|
import { PostDisplay } from './postView';
|
||||||
|
import { PostDropdown } from './postDropdown';
|
||||||
|
import { PostForm } from './postForm';
|
||||||
|
import { PostHeaderDescription, PostBody, Tags } from './postElements';
|
||||||
|
import { PostListItem } from './postListItem';
|
||||||
|
import { ProfileSummary } from './profileSummary';
|
||||||
|
import { PulseAnimation } from './animations';
|
||||||
|
import { SearchInput } from './searchInput';
|
||||||
|
import { SearchModal } from './searchModal';
|
||||||
|
import { SettingsItem } from './settingsItem';
|
||||||
import { SideMenu } from './sideMenu';
|
import { SideMenu } from './sideMenu';
|
||||||
|
import { SummaryArea, TagArea, TextArea, TitleArea } from './editorElements';
|
||||||
|
import { TabBar } from './tabBar';
|
||||||
import { TextInput } from './textInput';
|
import { TextInput } from './textInput';
|
||||||
import Icon from './icon';
|
import { ToastNotification } from './toastNotification';
|
||||||
|
import { ToggleSwitch } from './toggleSwitch';
|
||||||
|
import { TransferFormItem } from './transferFormItem';
|
||||||
|
import { Upvote } from './upvote';
|
||||||
|
import { UserAvatar } from './userAvatar';
|
||||||
import Logo from './logo/logo';
|
import Logo from './logo/logo';
|
||||||
import Modal from './modal';
|
|
||||||
import PostBoost from './postBoost/postBoostView';
|
|
||||||
import PostButton from './postButton/postButtonView';
|
import PostButton from './postButton/postButtonView';
|
||||||
import ProfileEditForm from './profileEditForm/profileEditFormView';
|
import ProfileEditForm from './profileEditForm/profileEditFormView';
|
||||||
import Promote from './promote/promoteView';
|
|
||||||
import ScaleSlider from './scaleSlider/scaleSliderView';
|
import ScaleSlider from './scaleSlider/scaleSliderView';
|
||||||
import UserListItem from './basicUIElements/view/userListItem/userListItem';
|
|
||||||
|
// View
|
||||||
|
import { Comment } from './comment';
|
||||||
|
import { Comments } from './comments';
|
||||||
|
import { CommentsDisplay } from './commentsDisplay';
|
||||||
|
import { LeaderBoard } from './leaderboard';
|
||||||
|
import { Notification } from './notification';
|
||||||
|
import { Points } from './points';
|
||||||
|
import { Posts } from './posts';
|
||||||
|
import { Transaction } from './transaction';
|
||||||
|
import { VotersDisplay } from './votersDisplay';
|
||||||
|
import { Wallet } from './wallet';
|
||||||
|
import { WalletDetails } from './walletDetails';
|
||||||
|
import PostBoost from './postBoost/postBoostView';
|
||||||
import Profile from './profile/profileView';
|
import Profile from './profile/profileView';
|
||||||
|
import Promote from './promote/promoteView';
|
||||||
|
|
||||||
|
// Basic UI Elements
|
||||||
|
import {
|
||||||
|
BoostPlaceHolder,
|
||||||
|
Card,
|
||||||
|
Chip,
|
||||||
|
GrayWrapper,
|
||||||
|
LineBreak,
|
||||||
|
ListItemPlaceHolder,
|
||||||
|
ListPlaceHolder,
|
||||||
|
NoInternetConnection,
|
||||||
|
NoPost,
|
||||||
|
PostCardPlaceHolder,
|
||||||
|
PostPlaceHolder,
|
||||||
|
ProfileSummaryPlaceHolder,
|
||||||
|
StickyBar,
|
||||||
|
Tag,
|
||||||
|
TextWithIcon,
|
||||||
|
UserListItem,
|
||||||
|
WalletDetailsPlaceHolder,
|
||||||
|
WalletLineItem,
|
||||||
|
WalletUnclaimedPlaceHolder,
|
||||||
|
} from './basicUIElements';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
Card,
|
||||||
|
Chip,
|
||||||
|
GrayWrapper,
|
||||||
|
LineBreak,
|
||||||
|
ListItemPlaceHolder,
|
||||||
|
ListPlaceHolder,
|
||||||
|
BoostPlaceHolder,
|
||||||
|
NoInternetConnection,
|
||||||
|
NoPost,
|
||||||
|
PostCardPlaceHolder,
|
||||||
|
PostPlaceHolder,
|
||||||
|
ProfileSummaryPlaceHolder,
|
||||||
|
StickyBar,
|
||||||
|
Tag,
|
||||||
|
TextWithIcon,
|
||||||
|
UserListItem,
|
||||||
|
WalletDetailsPlaceHolder,
|
||||||
|
WalletLineItem,
|
||||||
|
WalletUnclaimedPlaceHolder,
|
||||||
|
AvatarHeader,
|
||||||
|
BasicHeader,
|
||||||
|
InformationBox,
|
||||||
|
BottomTabBar,
|
||||||
|
CheckBox,
|
||||||
CircularButton,
|
CircularButton,
|
||||||
|
CollapsibleCard,
|
||||||
|
Comment,
|
||||||
|
Comments,
|
||||||
|
CommentsDisplay,
|
||||||
|
ContainerHeader,
|
||||||
|
DateTimePicker,
|
||||||
|
DropdownButton,
|
||||||
|
FilterBar,
|
||||||
|
FormatedCurrency,
|
||||||
FormInput,
|
FormInput,
|
||||||
|
Header,
|
||||||
Icon,
|
Icon,
|
||||||
IconButton,
|
IconButton,
|
||||||
|
InformationArea,
|
||||||
|
LeaderBoard,
|
||||||
|
LoginHeader,
|
||||||
Logo,
|
Logo,
|
||||||
|
MainButton,
|
||||||
|
MarkdownEditor,
|
||||||
Modal,
|
Modal,
|
||||||
|
Notification,
|
||||||
|
NotificationLine,
|
||||||
NumericKeyboard,
|
NumericKeyboard,
|
||||||
|
ParentPost,
|
||||||
|
PercentBar,
|
||||||
PinAnimatedInput,
|
PinAnimatedInput,
|
||||||
|
Points,
|
||||||
|
PostBody,
|
||||||
|
PostBoost,
|
||||||
PostButton,
|
PostButton,
|
||||||
|
PostCard,
|
||||||
|
PostDisplay,
|
||||||
|
PostDropdown,
|
||||||
|
PostForm,
|
||||||
|
PostHeaderDescription,
|
||||||
|
PostListItem,
|
||||||
|
Posts,
|
||||||
Profile,
|
Profile,
|
||||||
ProfileEditForm,
|
ProfileEditForm,
|
||||||
|
ProfileSummary,
|
||||||
|
Promote,
|
||||||
|
PulseAnimation,
|
||||||
ScaleSlider,
|
ScaleSlider,
|
||||||
|
SearchInput,
|
||||||
|
SearchModal,
|
||||||
|
SettingsItem,
|
||||||
SideMenu,
|
SideMenu,
|
||||||
|
SquareButton,
|
||||||
|
SummaryArea,
|
||||||
|
TabBar,
|
||||||
|
TagArea,
|
||||||
|
Tags,
|
||||||
|
TextArea,
|
||||||
TextButton,
|
TextButton,
|
||||||
TextInput,
|
TextInput,
|
||||||
UserListItem,
|
TitleArea,
|
||||||
Promote,
|
ToastNotification,
|
||||||
PostBoost,
|
ToggleSwitch,
|
||||||
|
Transaction,
|
||||||
|
TransferFormItem,
|
||||||
|
Upvote,
|
||||||
|
UserAvatar,
|
||||||
|
VotersDisplay,
|
||||||
|
Wallet,
|
||||||
|
WalletDetails,
|
||||||
};
|
};
|
||||||
|
@ -1 +1,3 @@
|
|||||||
export { default } from './view/informationBox';
|
import InformationBox from './view/informationBoxView';
|
||||||
|
|
||||||
|
export { InformationBox };
|
||||||
|
@ -8,7 +8,7 @@ import { injectIntl } from 'react-intl';
|
|||||||
// Components
|
// Components
|
||||||
import { ContainerHeader } from '../../containerHeader';
|
import { ContainerHeader } from '../../containerHeader';
|
||||||
import { FilterBar } from '../../filterBar';
|
import { FilterBar } from '../../filterBar';
|
||||||
import NotificationLine from '../../notificationLine';
|
import { NotificationLine } from '../..';
|
||||||
import { ListPlaceHolder } from '../../basicUIElements';
|
import { ListPlaceHolder } from '../../basicUIElements';
|
||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
import NotificationLineView from './view/notificationLineView';
|
import NotificationLine from './view/notificationLineView';
|
||||||
|
|
||||||
export default NotificationLineView;
|
export { NotificationLine };
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { View } from 'react-native';
|
import { View } from 'react-native';
|
||||||
import times from 'lodash/times';
|
import times from 'lodash/times';
|
||||||
import { CircularButton, IconButton } from '../../buttons';
|
import { CircularButton } from '../../buttons';
|
||||||
|
import { IconButton } from '../../iconButton';
|
||||||
|
|
||||||
import styles from './numericKeyboardStyles';
|
import styles from './numericKeyboardStyles';
|
||||||
|
|
||||||
@ -26,11 +27,11 @@ const NumericKeyboard = ({ onPress }) => (
|
|||||||
onPress={value => onPress && onPress(value)}
|
onPress={value => onPress && onPress(value)}
|
||||||
/>
|
/>
|
||||||
<IconButton
|
<IconButton
|
||||||
handleOnPress={() => onPress && onPress('clear')}
|
onPress={() => onPress && onPress('clear')}
|
||||||
isCircle
|
isCircle
|
||||||
buttonStyle={styles.buttonWithoutBorder}
|
buttonStyle={styles.buttonWithoutBorder}
|
||||||
style={styles.iconButton}
|
style={styles.iconButton}
|
||||||
name="backspace"
|
name="ios-backspace"
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
ActivityIndicator,
|
ActivityIndicator,
|
||||||
Linking,
|
Linking,
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { get, has } from 'lodash';
|
import get from 'lodash/get';
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
import LIGHT_COVER_IMAGE from '../../../assets/default_cover_image.png';
|
import LIGHT_COVER_IMAGE from '../../../assets/default_cover_image.png';
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
import SearchInput from './view/searchInputView';
|
import SearchInput from './view/searchInputView';
|
||||||
|
|
||||||
export default SearchInput;
|
export { SearchInput };
|
||||||
|
@ -4,8 +4,7 @@ import FastImage from 'react-native-fast-image';
|
|||||||
import { get, has } from 'lodash';
|
import { get, has } from 'lodash';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { Modal } from '../..';
|
import { Modal, SearchInput } from '../..';
|
||||||
import SearchInput from '../../searchInput';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import styles from './searchModalStyles';
|
import styles from './searchModalStyles';
|
||||||
|
@ -6,7 +6,7 @@ import ActionSheet from 'react-native-actionsheet';
|
|||||||
import VersionNumber from 'react-native-version-number';
|
import VersionNumber from 'react-native-version-number';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { IconButton } from '../../buttons';
|
import { IconButton } from '../../iconButton';
|
||||||
import { Icon } from '../../icon';
|
import { Icon } from '../../icon';
|
||||||
import { UserAvatar } from '../../userAvatar';
|
import { UserAvatar } from '../../userAvatar';
|
||||||
|
|
||||||
@ -121,13 +121,13 @@ class SideMenuView extends Component {
|
|||||||
|
|
||||||
<View style={styles.userInfoWrapper}>
|
<View style={styles.userInfoWrapper}>
|
||||||
<IconButton
|
<IconButton
|
||||||
name={isAddAccountIconActive ? 'arrow-dropup' : 'add-circle-outline'}
|
name={isAddAccountIconActive ? 'arrow-dropup' : 'ios-add-circle-outline'}
|
||||||
androidName={
|
androidName={
|
||||||
isAddAccountIconActive ? 'md-arrow-dropup' : 'ios-add-circle-outline'
|
isAddAccountIconActive ? 'md-arrow-dropup' : 'ios-add-circle-outline'
|
||||||
}
|
}
|
||||||
color="white"
|
color="white"
|
||||||
size={20}
|
size={20}
|
||||||
handleOnPress={() => this._handleOnPressAddAccountIcon()}
|
onPress={this._handleOnPressAddAccountIcon}
|
||||||
style={styles.addAccountIcon}
|
style={styles.addAccountIcon}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
@ -7,8 +7,7 @@ import ROUTES from '../constants/routeNames';
|
|||||||
// Components
|
// Components
|
||||||
import { Icon, IconContainer } from '../components/icon';
|
import { Icon, IconContainer } from '../components/icon';
|
||||||
import { Home, Notification, Profile, Points } from '../screens';
|
import { Home, Notification, Profile, Points } from '../screens';
|
||||||
import { PostButton } from '../components';
|
import { PostButton, BottomTabBar } from '../components';
|
||||||
import { BottomTabBar } from '../components/bottomTabBar';
|
|
||||||
|
|
||||||
const BaseNavigator = createBottomTabNavigator(
|
const BaseNavigator = createBottomTabNavigator(
|
||||||
{
|
{
|
||||||
|
@ -9,8 +9,7 @@ import { ReduxNavigation } from '../../../navigation/reduxNavigation';
|
|||||||
import { toastNotification as toastNotificationAction } from '../../../redux/actions/uiAction';
|
import { toastNotification as toastNotificationAction } from '../../../redux/actions/uiAction';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { NoInternetConnection } from '../../../components/basicUIElements';
|
import { ToastNotification, NoInternetConnection } from '../../../components';
|
||||||
import { ToastNotification } from '../../../components/toastNotification';
|
|
||||||
|
|
||||||
// Themes (Styles)
|
// Themes (Styles)
|
||||||
import darkTheme from '../../../themes/darkTheme';
|
import darkTheme from '../../../themes/darkTheme';
|
||||||
|
@ -5,13 +5,7 @@ import ScrollableTabView from 'react-native-scrollable-tab-view';
|
|||||||
import ActionSheet from 'react-native-actionsheet';
|
import ActionSheet from 'react-native-actionsheet';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { UserListItem, WalletDetailsPlaceHolder, BasicHeader, TabBar } from '../../../components';
|
||||||
import {
|
|
||||||
PostCardPlaceHolder,
|
|
||||||
UserListItem,
|
|
||||||
WalletDetailsPlaceHolder,
|
|
||||||
} from '../../../components/basicUIElements';
|
|
||||||
import { TabBar } from '../../../components/tabBar';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import globalStyles from '../../../globalStyles';
|
import globalStyles from '../../../globalStyles';
|
||||||
|
@ -4,10 +4,7 @@ import { View, Text } from 'react-native';
|
|||||||
import get from 'lodash/get';
|
import get from 'lodash/get';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { BasicHeader, Icon, MainButton, BoostPlaceHolder } from '../../../components';
|
||||||
import { MainButton } from '../../../components/mainButton';
|
|
||||||
import { Icon } from '../../../components/icon';
|
|
||||||
import { BoostPlaceHolder } from '../../../components/basicUIElements';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import globalStyles from '../../../globalStyles';
|
import globalStyles from '../../../globalStyles';
|
||||||
|
@ -11,10 +11,7 @@ import { catchDraftImage } from '../../../utils/image';
|
|||||||
import { getFormatedCreatedDate } from '../../../utils/time';
|
import { getFormatedCreatedDate } from '../../../utils/time';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { BasicHeader, TabBar, PostListItem, PostCardPlaceHolder } from '../../../components';
|
||||||
import { PostListItem } from '../../../components/postListItem';
|
|
||||||
import { PostCardPlaceHolder } from '../../../components/basicUIElements';
|
|
||||||
import { TabBar } from '../../../components/tabBar';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import globalStyles from '../../../globalStyles';
|
import globalStyles from '../../../globalStyles';
|
||||||
|
@ -7,9 +7,14 @@ import get from 'lodash/get';
|
|||||||
import { getWordsCount } from '../../../utils/editor';
|
import { getWordsCount } from '../../../utils/editor';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import {
|
||||||
import { TitleArea, TagArea, TextArea, SummaryArea } from '../../../components/editorElements';
|
BasicHeader,
|
||||||
import { PostForm } from '../../../components/postForm';
|
TitleArea,
|
||||||
|
TagArea,
|
||||||
|
TextArea,
|
||||||
|
SummaryArea,
|
||||||
|
PostForm,
|
||||||
|
} from '../../../components';
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import globalStyles from '../../../globalStyles';
|
import globalStyles from '../../../globalStyles';
|
||||||
|
@ -6,8 +6,7 @@ import { injectIntl } from 'react-intl';
|
|||||||
// Constants
|
// Constants
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { BasicHeader, UserListItem } from '../../../components';
|
||||||
import { UserListItem } from '../../../components/basicUIElements';
|
|
||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
import styles from './followScreenStyles';
|
import styles from './followScreenStyles';
|
||||||
|
@ -4,9 +4,7 @@ import ScrollableTabView from 'react-native-scrollable-tab-view';
|
|||||||
import { injectIntl } from 'react-intl';
|
import { injectIntl } from 'react-intl';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { TabBar } from '../../../components/tabBar';
|
import { TabBar, Posts, Header } from '../../../components';
|
||||||
import { Posts } from '../../../components/posts';
|
|
||||||
import { Header } from '../../../components/header';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import styles from './homeStyles';
|
import styles from './homeStyles';
|
||||||
|
@ -8,13 +8,15 @@ import { injectIntl } from 'react-intl';
|
|||||||
import SteemConnect from '../../steem-connect/steemConnect';
|
import SteemConnect from '../../steem-connect/steemConnect';
|
||||||
|
|
||||||
// Internal Components
|
// Internal Components
|
||||||
import { FormInput } from '../../../components/formInput';
|
import {
|
||||||
import { InformationArea } from '../../../components/informationArea';
|
FormInput,
|
||||||
import { LoginHeader } from '../../../components/loginHeader';
|
InformationArea,
|
||||||
import { MainButton } from '../../../components/mainButton';
|
LoginHeader,
|
||||||
import { Modal } from '../../../components';
|
MainButton,
|
||||||
import { TabBar } from '../../../components/tabBar';
|
Modal,
|
||||||
import { TextButton } from '../../../components/buttons';
|
TabBar,
|
||||||
|
TextButton,
|
||||||
|
} from '../../../components';
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
import { default as ROUTES } from '../../../constants/routeNames';
|
import { default as ROUTES } from '../../../constants/routeNames';
|
||||||
|
@ -4,11 +4,7 @@ import ScrollableTabView from 'react-native-scrollable-tab-view';
|
|||||||
import { injectIntl } from 'react-intl';
|
import { injectIntl } from 'react-intl';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { TabBar } from '../../../components/tabBar';
|
import { TabBar, LeaderBoard, Notification, Header, NoPost } from '../../../components';
|
||||||
import { Notification } from '../../../components/notification';
|
|
||||||
import { Header } from '../../../components/header';
|
|
||||||
import { NoPost } from '../../../components/basicUIElements';
|
|
||||||
import { LeaderBoard } from '../../../components/leaderboard';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import styles from './notificationStyles';
|
import styles from './notificationStyles';
|
||||||
|
@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
|
|||||||
import { Text, TouchableOpacity, View } from 'react-native';
|
import { Text, TouchableOpacity, View } from 'react-native';
|
||||||
|
|
||||||
import { NumericKeyboard, PinAnimatedInput } from '../../../components';
|
import { NumericKeyboard, PinAnimatedInput } from '../../../components';
|
||||||
import { UserAvatar } from '../../../components/userAvatar';
|
import { UserAvatar } from '../../../components';
|
||||||
|
|
||||||
import styles from './pinCodeStyles';
|
import styles from './pinCodeStyles';
|
||||||
|
|
||||||
|
@ -6,9 +6,7 @@ import { View } from 'react-native';
|
|||||||
import { PointsContainer } from '../../../containers';
|
import { PointsContainer } from '../../../containers';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { Header } from '../../../components/header';
|
import { Header, Points, NoPost } from '../../../components';
|
||||||
import { NoPost } from '../../../components/basicUIElements';
|
|
||||||
import { Points } from '../../../components/points';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import styles from './pointsStyles';
|
import styles from './pointsStyles';
|
||||||
|
@ -3,9 +3,7 @@ import React, { PureComponent, Fragment } from 'react';
|
|||||||
// Constants
|
// Constants
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { BasicHeader, PostDisplay, PostDropdown } from '../../../components';
|
||||||
import { PostDisplay } from '../../../components/postView';
|
|
||||||
import { PostDropdown } from '../../../components/postDropdown';
|
|
||||||
|
|
||||||
class PostScreen extends PureComponent {
|
class PostScreen extends PureComponent {
|
||||||
/* Props
|
/* Props
|
||||||
|
@ -5,8 +5,7 @@ import ActionSheet from 'react-native-actionsheet';
|
|||||||
|
|
||||||
import { ProfileEditContainer } from '../../../containers';
|
import { ProfileEditContainer } from '../../../containers';
|
||||||
|
|
||||||
import AvatarHeader from '../../../components/avatarHeader/avatarHeaderView';
|
import { AvatarHeader, ProfileEditForm } from '../../../components';
|
||||||
import ProfileEditForm from '../../../components/profileEditForm/profileEditFormView';
|
|
||||||
|
|
||||||
class ProfileEditScreen extends PureComponent {
|
class ProfileEditScreen extends PureComponent {
|
||||||
/* Props
|
/* Props
|
||||||
|
@ -5,8 +5,7 @@ import { useIntl } from 'react-intl';
|
|||||||
// Constants
|
// Constants
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { BasicHeader, UserListItem } from '../../../components';
|
||||||
import { UserListItem } from '../../../components/basicUIElements';
|
|
||||||
|
|
||||||
import AccountListContainer from '../../../containers/accountListContainer';
|
import AccountListContainer from '../../../containers/accountListContainer';
|
||||||
|
|
||||||
|
@ -4,9 +4,7 @@ import ScrollableTabView from 'react-native-scrollable-tab-view';
|
|||||||
import { injectIntl } from 'react-intl';
|
import { injectIntl } from 'react-intl';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { TabBar } from '../../../components/tabBar';
|
import { SearchInput, Posts, TabBar } from '../../../components';
|
||||||
import { Posts } from '../../../components/posts';
|
|
||||||
import SearchInput from '../../../components/searchInput';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import styles from './searchResultStyles';
|
import styles from './searchResultStyles';
|
||||||
|
@ -12,9 +12,7 @@ import CURRENCY, { VALUE as CURRENCY_VALUE } from '../../../constants/options/cu
|
|||||||
import NSFW from '../../../constants/options/nsfw';
|
import NSFW from '../../../constants/options/nsfw';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { BasicHeader, SettingsItem, CollapsibleCard } from '../../../components';
|
||||||
import { SettingsItem } from '../../../components/settingsItem';
|
|
||||||
import { CollapsibleCard } from '../../../components/collapsibleCard';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import styles from './settingsStyles';
|
import styles from './settingsStyles';
|
||||||
|
@ -10,14 +10,16 @@ import AUTH_TYPE from '../../../constants/authType';
|
|||||||
import { steemConnectOptions } from '../../../constants/steemConnectOptions';
|
import { steemConnectOptions } from '../../../constants/steemConnectOptions';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import {
|
||||||
import { TransferFormItem } from '../../../components/transferFormItem';
|
BasicHeader,
|
||||||
import { DropdownButton } from '../../../components/dropdownButton';
|
TransferFormItem,
|
||||||
import { TextInput } from '../../../components/textInput';
|
DropdownButton,
|
||||||
import { MainButton } from '../../../components/mainButton';
|
TextInput,
|
||||||
import { UserAvatar } from '../../../components/userAvatar';
|
MainButton,
|
||||||
import { Icon } from '../../../components/icon';
|
UserAvatar,
|
||||||
import { Modal } from '../../../components/modal';
|
Icon,
|
||||||
|
Modal,
|
||||||
|
} from '../../../components';
|
||||||
|
|
||||||
import parseToken from '../../../utils/parseToken';
|
import parseToken from '../../../utils/parseToken';
|
||||||
import { isEmptyDate } from '../../../utils/time';
|
import { isEmptyDate } from '../../../utils/time';
|
||||||
|
@ -8,15 +8,17 @@ import get from 'lodash/get';
|
|||||||
import { getWithdrawRoutes } from '../../../providers/steem/dsteem';
|
import { getWithdrawRoutes } from '../../../providers/steem/dsteem';
|
||||||
import AUTH_TYPE from '../../../constants/authType';
|
import AUTH_TYPE from '../../../constants/authType';
|
||||||
|
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import {
|
||||||
import { TransferFormItem } from '../../../components/transferFormItem';
|
BasicHeader,
|
||||||
import { MainButton } from '../../../components/mainButton';
|
TransferFormItem,
|
||||||
import { DropdownButton } from '../../../components/dropdownButton';
|
MainButton,
|
||||||
import { Modal } from '../../../components/modal';
|
DropdownButton,
|
||||||
import { SquareButton } from '../../../components/buttons';
|
Modal,
|
||||||
import InformationBox from '../../../components/informationBox';
|
SquareButton,
|
||||||
import { Icon } from '../../../components/icon';
|
InformationBox,
|
||||||
import { IconButton } from '../../../components/iconButton';
|
Icon,
|
||||||
|
IconButton,
|
||||||
|
} from '../../../components';
|
||||||
import WithdrawAccountModal from './withdrawAccountModal';
|
import WithdrawAccountModal from './withdrawAccountModal';
|
||||||
|
|
||||||
import parseToken from '../../../utils/parseToken';
|
import parseToken from '../../../utils/parseToken';
|
||||||
|
@ -7,14 +7,16 @@ import get from 'lodash/get';
|
|||||||
import { steemConnectOptions } from '../../../constants/steemConnectOptions';
|
import { steemConnectOptions } from '../../../constants/steemConnectOptions';
|
||||||
import AUTH_TYPE from '../../../constants/authType';
|
import AUTH_TYPE from '../../../constants/authType';
|
||||||
|
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import {
|
||||||
import { TextInput } from '../../../components/textInput';
|
BasicHeader,
|
||||||
import { TransferFormItem } from '../../../components/transferFormItem';
|
TextInput,
|
||||||
import { MainButton } from '../../../components/mainButton';
|
TransferFormItem,
|
||||||
import { DropdownButton } from '../../../components/dropdownButton';
|
MainButton,
|
||||||
import { UserAvatar } from '../../../components/userAvatar';
|
DropdownButton,
|
||||||
import { Icon } from '../../../components/icon';
|
UserAvatar,
|
||||||
import { Modal } from '../../../components/modal';
|
Icon,
|
||||||
|
Modal,
|
||||||
|
} from '../../../components';
|
||||||
|
|
||||||
import styles from './transferStyles';
|
import styles from './transferStyles';
|
||||||
|
|
||||||
|
@ -6,11 +6,7 @@ import { injectIntl } from 'react-intl';
|
|||||||
// Constants
|
// Constants
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { TransferFormItem } from '../../../components/transferFormItem';
|
import { CheckBox, TransferFormItem, MainButton, TextInput, UserAvatar } from '../../../components';
|
||||||
import CheckBox from '../../../components/checkbox';
|
|
||||||
import { MainButton } from '../../../components/mainButton';
|
|
||||||
import { TextInput } from '../../../components/textInput';
|
|
||||||
import { UserAvatar } from '../../../components/userAvatar';
|
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import styles from './transferStyles';
|
import styles from './transferStyles';
|
||||||
|
@ -5,9 +5,7 @@ import { useIntl } from 'react-intl';
|
|||||||
// Constants
|
// Constants
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { BasicHeader } from '../../../components/basicHeader';
|
import { BasicHeader, FilterBar, VotersDisplay } from '../../../components';
|
||||||
import { FilterBar } from '../../../components/filterBar';
|
|
||||||
import { VotersDisplay } from '../../../components/votersDisplay';
|
|
||||||
|
|
||||||
import AccountListContainer from '../../../containers/accountListContainer';
|
import AccountListContainer from '../../../containers/accountListContainer';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user