import { Dispatch } from 'redux'; import { ProviderType } from '@dcl/schemas/dist/dapps/provider-type'; import { LoginModalProps } from 'decentraland-ui/dist/components/LoginModal/LoginModal'; import { EnableWalletRequestAction } from '../../modules/wallet/actions'; import { ModalProps } from '../../providers/ModalProvider/ModalProvider.types'; export type DefaultProps = { isLoading: boolean; }; export type Props = DefaultProps & Omit & LoginModalProps & { metadata?: Metadata; hasTranslations?: boolean; onConnect: (providerType: ProviderType) => any; }; export type State = { hasError: boolean; }; export type OwnProps = Pick; export type Metadata = { onConnect: (providerType: ProviderType) => any; }; export type MapStateProps = Pick; export type MapDispatchProps = Pick; export type MapDispatch = Dispatch;