UNPKG

@cross-nft-marketplace/auction-house-nft-components

Version:
20 lines (19 loc) 632 B
import React from "react"; import type { RenderRequest } from "./RendererConfig"; export declare function useMediaObjectProps({ uri, request, a11yIdPrefix, getStyles, preferredIPFSGateway, }: { uri: string | undefined; request: RenderRequest; a11yIdPrefix?: string; getStyles: any; preferredIPFSGateway?: string; }): { loading: boolean; error: string | undefined; props: any; }; export declare const MediaLoader: ({ getStyles, children, loading, error, }: { getStyles: any; children: React.ReactNode; loading: boolean; error: string | undefined; }) => JSX.Element;