Remove half the lines: import from + export => export from

This commit is contained in:
Vesa Luusua 2017-10-10 21:45:33 +03:00
parent 727ee31d47
commit e046269a38
2 changed files with 124 additions and 228 deletions

View file

@ -1,157 +1,90 @@
import AddImages from './AddImages/AddImages';
import Avatar, { AvatarMedium, AvatarLarge } from './Avatar/Avatar';
import BirthdayInputField from './BirthdayInputField/BirthdayInputField';
import BookingBreakdown from './BookingBreakdown/BookingBreakdown';
import Button, { PrimaryButton, SecondaryButton, InlineTextButton } from './Button/Button';
import CurrencyInputField from './CurrencyInputField/CurrencyInputField';
import DateInputField from './DateInputField/DateInputField';
import DateRangeInputField from './DateRangeInputField/DateRangeInputField';
import Discussion from './Discussion/Discussion';
import EditListingDescriptionPanel from './EditListingDescriptionPanel/EditListingDescriptionPanel';
import EditListingLocationPanel from './EditListingLocationPanel/EditListingLocationPanel';
import EditListingPhotosPanel from './EditListingPhotosPanel/EditListingPhotosPanel';
import EditListingPricingPanel from './EditListingPricingPanel/EditListingPricingPanel';
import EditListingWizard from './EditListingWizard/EditListingWizard';
import ExpandingTextarea from './ExpandingTextarea/ExpandingTextarea';
import ExternalLink from './ExternalLink/ExternalLink';
import FilterPanel from './FilterPanel/FilterPanel';
import Form from './Form/Form';
import HeroSection from './HeroSection/HeroSection';
import IconBannedUser from './IconBannedUser/IconBannedUser';
import IconCheckmark from './IconCheckmark/IconCheckmark';
import IconClose from './IconClose/IconClose';
import IconEmailAttention from './IconEmailAttention/IconEmailAttention';
import IconEmailSent from './IconEmailSent/IconEmailSent';
import IconEmailSuccess from './IconEmailSuccess/IconEmailSuccess';
import IconKeys from './IconKeys/IconKeys';
import IconKeysSuccess from './IconKeysSuccess/IconKeysSuccess';
import IconSearch from './IconSearch/IconSearch';
import IconSpinner from './IconSpinner/IconSpinner';
import ImageCarousel from './ImageCarousel/ImageCarousel';
import ImageFromFile from './ImageFromFile/ImageFromFile';
import LayoutSideNavigation, {
export { default as AddImages } from './AddImages/AddImages';
export { default as Avatar, AvatarMedium, AvatarLarge } from './Avatar/Avatar';
export { default as BirthdayInputField } from './BirthdayInputField/BirthdayInputField';
export { default as BookingBreakdown } from './BookingBreakdown/BookingBreakdown';
export {
default as Button,
PrimaryButton,
SecondaryButton,
InlineTextButton,
} from './Button/Button';
export { default as CurrencyInputField } from './CurrencyInputField/CurrencyInputField';
export { default as DateInputField } from './DateInputField/DateInputField';
export { default as DateRangeInputField } from './DateRangeInputField/DateRangeInputField';
export { default as Discussion } from './Discussion/Discussion';
export {
default as EditListingDescriptionPanel,
} from './EditListingDescriptionPanel/EditListingDescriptionPanel';
export {
default as EditListingLocationPanel,
} from './EditListingLocationPanel/EditListingLocationPanel';
export { default as EditListingPhotosPanel } from './EditListingPhotosPanel/EditListingPhotosPanel';
export {
default as EditListingPricingPanel,
} from './EditListingPricingPanel/EditListingPricingPanel';
export { default as EditListingWizard } from './EditListingWizard/EditListingWizard';
export { default as ExpandingTextarea } from './ExpandingTextarea/ExpandingTextarea';
export { default as ExternalLink } from './ExternalLink/ExternalLink';
export { default as FilterPanel } from './FilterPanel/FilterPanel';
export { default as Form } from './Form/Form';
export { default as HeroSection } from './HeroSection/HeroSection';
export { default as IconBannedUser } from './IconBannedUser/IconBannedUser';
export { default as IconCheckmark } from './IconCheckmark/IconCheckmark';
export { default as IconClose } from './IconClose/IconClose';
export { default as IconEmailAttention } from './IconEmailAttention/IconEmailAttention';
export { default as IconEmailSent } from './IconEmailSent/IconEmailSent';
export { default as IconEmailSuccess } from './IconEmailSuccess/IconEmailSuccess';
export { default as IconKeys } from './IconKeys/IconKeys';
export { default as IconKeysSuccess } from './IconKeysSuccess/IconKeysSuccess';
export { default as IconSearch } from './IconSearch/IconSearch';
export { default as IconSpinner } from './IconSpinner/IconSpinner';
export { default as ImageCarousel } from './ImageCarousel/ImageCarousel';
export { default as ImageFromFile } from './ImageFromFile/ImageFromFile';
export {
default as LayoutSideNavigation,
ContentWrapper,
SideNavWrapper,
TopbarWrapper,
} from './LayoutSideNavigation/LayoutSideNavigation';
import ListingCard from './ListingCard/ListingCard';
import LocationAutocompleteInput, {
export { default as ListingCard } from './ListingCard/ListingCard';
export {
default as LocationAutocompleteInput,
LocationAutocompleteInputField,
} from './LocationAutocompleteInput/LocationAutocompleteInput';
import ManageListingCard from './ManageListingCard/ManageListingCard';
import Map from './Map/Map';
import MapPanel from './MapPanel/MapPanel';
import Menu from './Menu/Menu';
import MenuContent from './MenuContent/MenuContent';
import MenuItem from './MenuItem/MenuItem';
import MenuLabel from './MenuLabel/MenuLabel';
import Modal from './Modal/Modal';
import ModalInMobile from './ModalInMobile/ModalInMobile';
import NamedLink from './NamedLink/NamedLink';
import NamedRedirect from './NamedRedirect/NamedRedirect';
import NotificationBadge from './NotificationBadge/NotificationBadge';
import OrderDetailsPanel from './OrderDetailsPanel/OrderDetailsPanel';
import OrderDiscussionPanel from './OrderDiscussionPanel/OrderDiscussionPanel';
import Page from './Page/Page';
import PaginationLinks from './PaginationLinks/PaginationLinks';
import Promised from './Promised/Promised';
import ResponsiveImage from './ResponsiveImage/ResponsiveImage';
import SaleDetailsPanel from './SaleDetailsPanel/SaleDetailsPanel';
import SearchMap from './SearchMap/SearchMap';
import SearchMapGroupLabel from './SearchMapGroupLabel/SearchMapGroupLabel';
import SearchMapInfoCard from './SearchMapInfoCard/SearchMapInfoCard';
import SearchMapPriceLabel from './SearchMapPriceLabel/SearchMapPriceLabel';
import SearchResultsPanel from './SearchResultsPanel/SearchResultsPanel';
import SelectField from './SelectField/SelectField';
import StripeBankAccountTokenInputField
from './StripeBankAccountTokenInputField/StripeBankAccountTokenInputField';
import TabNav from './TabNav/TabNav';
import TabNavHorizontal from './TabNavHorizontal/TabNavHorizontal';
import Tabs from './Tabs/Tabs';
import TextInputField from './TextInputField/TextInputField';
import Topbar from './Topbar/Topbar';
import TopbarDesktop from './TopbarDesktop/TopbarDesktop';
import TopbarMobileMenu from './TopbarMobileMenu/TopbarMobileMenu';
import UserNav from './UserNav/UserNav';
import ValidationError from './ValidationError/ValidationError';
export { default as ManageListingCard } from './ManageListingCard/ManageListingCard';
export { default as Map } from './Map/Map';
export { default as MapPanel } from './MapPanel/MapPanel';
export { default as Menu } from './Menu/Menu';
export { default as MenuContent } from './MenuContent/MenuContent';
export { default as MenuItem } from './MenuItem/MenuItem';
export { default as MenuLabel } from './MenuLabel/MenuLabel';
export { default as Modal } from './Modal/Modal';
export { default as ModalInMobile } from './ModalInMobile/ModalInMobile';
export { default as NamedLink } from './NamedLink/NamedLink';
export { default as NamedRedirect } from './NamedRedirect/NamedRedirect';
export { default as NotificationBadge } from './NotificationBadge/NotificationBadge';
export { default as OrderDetailsPanel } from './OrderDetailsPanel/OrderDetailsPanel';
export { default as OrderDiscussionPanel } from './OrderDiscussionPanel/OrderDiscussionPanel';
export { default as Page } from './Page/Page';
export { default as PaginationLinks } from './PaginationLinks/PaginationLinks';
export { default as Promised } from './Promised/Promised';
export { default as ResponsiveImage } from './ResponsiveImage/ResponsiveImage';
export { default as SaleDetailsPanel } from './SaleDetailsPanel/SaleDetailsPanel';
export { default as SearchMap } from './SearchMap/SearchMap';
export { default as SearchMapGroupLabel } from './SearchMapGroupLabel/SearchMapGroupLabel';
export { default as SearchMapInfoCard } from './SearchMapInfoCard/SearchMapInfoCard';
export { default as SearchMapPriceLabel } from './SearchMapPriceLabel/SearchMapPriceLabel';
export { default as SearchResultsPanel } from './SearchResultsPanel/SearchResultsPanel';
export { default as SelectField } from './SelectField/SelectField';
export {
AddImages,
Avatar,
AvatarLarge,
AvatarMedium,
BirthdayInputField,
BookingBreakdown,
Button,
ContentWrapper,
CurrencyInputField,
DateInputField,
DateRangeInputField,
Discussion,
EditListingDescriptionPanel,
EditListingLocationPanel,
EditListingPhotosPanel,
EditListingPricingPanel,
EditListingWizard,
ExpandingTextarea,
ExternalLink,
FilterPanel,
Form,
HeroSection,
IconBannedUser,
IconCheckmark,
IconClose,
IconEmailAttention,
IconEmailSent,
IconEmailSuccess,
IconKeys,
IconKeysSuccess,
IconSearch,
IconSpinner,
ImageCarousel,
ImageFromFile,
InlineTextButton,
LayoutSideNavigation,
ListingCard,
LocationAutocompleteInput,
LocationAutocompleteInputField,
ManageListingCard,
Map,
MapPanel,
Menu,
MenuContent,
MenuItem,
MenuLabel,
Modal,
ModalInMobile,
NamedLink,
NamedRedirect,
NotificationBadge,
OrderDetailsPanel,
OrderDiscussionPanel,
Page,
PaginationLinks,
PrimaryButton,
Promised,
ResponsiveImage,
SaleDetailsPanel,
SearchMap,
SearchMapGroupLabel,
SearchMapInfoCard,
SearchMapPriceLabel,
SearchResultsPanel,
SecondaryButton,
SelectField,
SideNavWrapper,
StripeBankAccountTokenInputField,
TabNav,
TabNavHorizontal,
Tabs,
TextInputField,
Topbar,
TopbarDesktop,
TopbarMobileMenu,
TopbarWrapper,
UserNav,
ValidationError,
};
default as StripeBankAccountTokenInputField,
} from './StripeBankAccountTokenInputField/StripeBankAccountTokenInputField';
export { default as TabNav } from './TabNav/TabNav';
export { default as TabNavHorizontal } from './TabNavHorizontal/TabNavHorizontal';
export { default as Tabs } from './Tabs/Tabs';
export { default as TextInputField } from './TextInputField/TextInputField';
export { default as Topbar } from './Topbar/Topbar';
export { default as TopbarDesktop } from './TopbarDesktop/TopbarDesktop';
export { default as TopbarMobileMenu } from './TopbarMobileMenu/TopbarMobileMenu';
export { default as UserNav } from './UserNav/UserNav';
export { default as ValidationError } from './ValidationError/ValidationError';

View file

@ -1,79 +1,42 @@
import AuthenticationPage from './AuthenticationPage/AuthenticationPage';
import BookingDatesForm from './BookingDatesForm/BookingDatesForm';
import CheckoutPage from './CheckoutPage/CheckoutPage';
import ContactDetailsForm from './ContactDetailsForm/ContactDetailsForm';
import ContactDetailsPage from './ContactDetailsPage/ContactDetailsPage';
import EditListingDescriptionForm from './EditListingDescriptionForm/EditListingDescriptionForm';
import EditListingLocationForm from './EditListingLocationForm/EditListingLocationForm';
import EditListingPage from './EditListingPage/EditListingPage';
import EditListingPhotosForm from './EditListingPhotosForm/EditListingPhotosForm';
import EditListingPricingForm from './EditListingPricingForm/EditListingPricingForm';
import EmailVerificationForm from './EmailVerificationForm/EmailVerificationForm';
import EmailVerificationPage from './EmailVerificationPage/EmailVerificationPage';
import InboxPage from './InboxPage/InboxPage';
import LandingPage from './LandingPage/LandingPage';
import ListingPage from './ListingPage/ListingPage';
import LocationSearchForm from './LocationSearchForm/LocationSearchForm';
import LoginForm from './LoginForm/LoginForm';
import ManageListingsPage from './ManageListingsPage/ManageListingsPage';
import NotFoundPage from './NotFoundPage/NotFoundPage';
import OrderPage from './OrderPage/OrderPage';
import PasswordChangeForm from './PasswordChangeForm/PasswordChangeForm';
import PasswordChangePage from './PasswordChangePage/PasswordChangePage';
import PasswordRecoveryForm from './PasswordRecoveryForm/PasswordRecoveryForm';
import PasswordRecoveryPage from './PasswordRecoveryPage/PasswordRecoveryPage';
import PasswordResetForm from './PasswordResetForm/PasswordResetForm';
import PasswordResetPage from './PasswordResetPage/PasswordResetPage';
import PayoutDetailsForm from './PayoutDetailsForm/PayoutDetailsForm';
import PayoutPreferencesPage from './PayoutPreferencesPage/PayoutPreferencesPage';
import ProfilePage from './ProfilePage/ProfilePage';
import ProfileSettingsForm from './ProfileSettingsForm/ProfileSettingsForm';
import ProfileSettingsPage from './ProfileSettingsPage/ProfileSettingsPage';
import SalePage from './SalePage/SalePage';
import SearchPage from './SearchPage/SearchPage';
import SecurityPage from './SecurityPage/SecurityPage';
import SignupForm from './SignupForm/SignupForm';
import StripePaymentForm from './StripePaymentForm/StripePaymentForm';
import StyleguidePage from './StyleguidePage/StyleguidePage';
import TopbarSearchForm from './TopbarSearchForm/TopbarSearchForm';
export { default as AuthenticationPage } from './AuthenticationPage/AuthenticationPage';
export { default as BookingDatesForm } from './BookingDatesForm/BookingDatesForm';
export { default as CheckoutPage } from './CheckoutPage/CheckoutPage';
export { default as ContactDetailsForm } from './ContactDetailsForm/ContactDetailsForm';
export { default as ContactDetailsPage } from './ContactDetailsPage/ContactDetailsPage';
export {
AuthenticationPage,
BookingDatesForm,
CheckoutPage,
ContactDetailsForm,
ContactDetailsPage,
EditListingDescriptionForm,
EditListingLocationForm,
EditListingPage,
EditListingPhotosForm,
EditListingPricingForm,
EmailVerificationForm,
EmailVerificationPage,
InboxPage,
LandingPage,
ListingPage,
LocationSearchForm,
LoginForm,
ManageListingsPage,
NotFoundPage,
OrderPage,
PasswordChangeForm,
PasswordChangePage,
PasswordRecoveryForm,
PasswordRecoveryPage,
PasswordResetForm,
PasswordResetPage,
PayoutDetailsForm,
PayoutPreferencesPage,
ProfilePage,
ProfileSettingsForm,
ProfileSettingsPage,
SalePage,
SearchPage,
SecurityPage,
SignupForm,
StripePaymentForm,
StyleguidePage,
TopbarSearchForm,
};
default as EditListingDescriptionForm,
} from './EditListingDescriptionForm/EditListingDescriptionForm';
export {
default as EditListingLocationForm,
} from './EditListingLocationForm/EditListingLocationForm';
export { default as EditListingPage } from './EditListingPage/EditListingPage';
export { default as EditListingPhotosForm } from './EditListingPhotosForm/EditListingPhotosForm';
export { default as EditListingPricingForm } from './EditListingPricingForm/EditListingPricingForm';
export { default as EmailVerificationForm } from './EmailVerificationForm/EmailVerificationForm';
export { default as EmailVerificationPage } from './EmailVerificationPage/EmailVerificationPage';
export { default as InboxPage } from './InboxPage/InboxPage';
export { default as LandingPage } from './LandingPage/LandingPage';
export { default as ListingPage } from './ListingPage/ListingPage';
export { default as LocationSearchForm } from './LocationSearchForm/LocationSearchForm';
export { default as LoginForm } from './LoginForm/LoginForm';
export { default as ManageListingsPage } from './ManageListingsPage/ManageListingsPage';
export { default as NotFoundPage } from './NotFoundPage/NotFoundPage';
export { default as OrderPage } from './OrderPage/OrderPage';
export { default as PasswordChangeForm } from './PasswordChangeForm/PasswordChangeForm';
export { default as PasswordChangePage } from './PasswordChangePage/PasswordChangePage';
export { default as PasswordRecoveryForm } from './PasswordRecoveryForm/PasswordRecoveryForm';
export { default as PasswordRecoveryPage } from './PasswordRecoveryPage/PasswordRecoveryPage';
export { default as PasswordResetForm } from './PasswordResetForm/PasswordResetForm';
export { default as PasswordResetPage } from './PasswordResetPage/PasswordResetPage';
export { default as PayoutDetailsForm } from './PayoutDetailsForm/PayoutDetailsForm';
export { default as PayoutPreferencesPage } from './PayoutPreferencesPage/PayoutPreferencesPage';
export { default as ProfilePage } from './ProfilePage/ProfilePage';
export { default as ProfileSettingsForm } from './ProfileSettingsForm/ProfileSettingsForm';
export { default as ProfileSettingsPage } from './ProfileSettingsPage/ProfileSettingsPage';
export { default as SalePage } from './SalePage/SalePage';
export { default as SearchPage } from './SearchPage/SearchPage';
export { default as SecurityPage } from './SecurityPage/SecurityPage';
export { default as SignupForm } from './SignupForm/SignupForm';
export { default as StripePaymentForm } from './StripePaymentForm/StripePaymentForm';
export { default as StyleguidePage } from './StyleguidePage/StyleguidePage';
export { default as TopbarSearchForm } from './TopbarSearchForm/TopbarSearchForm';