UNPKG

@dapplets/dapplet-extension

Version:
19 lines (18 loc) 685 B
import { DetailedHTMLProps, FC, HTMLAttributes } from 'react'; import { ManifestAndDetails } from '../../../../../common/types'; export interface DappletProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> { dapplet: ManifestAndDetails & { users: any[]; website: string; isFavourites: boolean; }; index?: any; onSwitchChange: Function; onSettingsModule: (x: any) => void; onOpenDappletAction: (dapplet: any) => void; onRemoveMyDapplet?: (x: any) => void; onOpenStore: (x: any) => void; onOpenNft: (x: any) => void; onOpenStoreAuthor: Function; } export declare const Dapplet: FC<DappletProps>;