UNPKG

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

Version:
10 lines (9 loc) 505 B
/// <reference types="react" /> import { NFTDataProviderProps } from "../context/NFTDataProvider"; import type { StyleProps } from "../utils/StyleTypes"; export declare type NFTPreviewProps = { onClick?: (evt: React.MouseEvent<HTMLElement>) => void; href?: string; children?: React.ReactNode; } & Omit<NFTDataProviderProps, "children"> & StyleProps; export declare const NFTPreview: ({ children, className, href, onClick, showBids, ...wrapperProps }: NFTPreviewProps) => JSX.Element;