UNPKG

@sullivan/react-virtualizer

Version:

Simple pseudo virtualization and reveal components to hide off-window components

11 lines (10 loc) 571 B
import React from 'react'; import './VirtualTypes'; declare const Reveal: ({ children, tag, ...props }: VirtualProps) => React.ReactElement<{ ref: React.MutableRefObject<undefined>; style?: object | undefined; rootMargin?: string | number | undefined; initialHeight?: string | number | undefined; initialWidth?: string | number | undefined; }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>; export default Reveal;