@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
19 lines (18 loc) • 685 B
TypeScript
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>;