@blocklet/ui-react
Version:
Some useful front-end web components that can be used in Blocklets.
12 lines (11 loc) • 324 B
TypeScript
export interface NftInfo {
address: string;
data: Record<string, any>;
display: Record<string, any>;
issuer: string;
}
export default function NftPreview({ visible, onClose, nft, }: {
visible: boolean;
onClose: () => void;
nft: NftInfo | null;
}): import("react/jsx-runtime").JSX.Element | null;