@blocklet/ui-react
Version:
Some useful front-end web components that can be used in Blocklets.
13 lines (12 loc) • 355 B
TypeScript
export default useComponentInstalled;
declare function useComponentInstalled({ did, onInstalled, onError }: {
did: any;
onInstalled: any;
onError: any;
}): {
optComponents: any;
installed: any;
installStatus: {};
setInstallStatus: import('react').Dispatch<import('react').SetStateAction<{}>>;
definedInBlockletYML: any;
};