import { Dispatch } from 'redux'; import { ChainId } from '@dcl/schemas/dist/dapps/chain-id'; import { Network } from '@dcl/schemas/dist/dapps/network'; export type ChainData = { chainId: ChainId | null; chainName: string | null; network: Network | null; appChainId: ChainId; appChainName: string; appNetwork: Network; isConnected: boolean; isSupported: boolean; isUnsupported: boolean; }; export type Props = ChainData & { children: (data: ChainData) => React.ReactNode; }; export type MapStateProps = Pick; export type MapDispatchProps = {}; export type MapDispatch = Dispatch;