UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

22 lines (21 loc) 688 B
/// <reference types="react" /> interface AdaptorProps { from?: string; to?: string; children?: any; query?: string; minHeight?: number | string; maxHeight?: number | string; minDeviceHeight?: number | string; maxDeviceHeight?: number | string; minWidth?: number | string; maxWidth?: number | string; minDeviceWidth?: number | string; maxDeviceWidth?: number | string; minResolution?: number | string; maxResolution?: number | string; onBeforeChange?: (matches: boolean) => void; onChange?: (matches: boolean) => void; } export declare const Adaptor: ({ from, to, ...props }: AdaptorProps) => JSX.Element | null; export {};