UNPKG

@sullivan/react-virtualizer

Version:

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

8 lines (7 loc) 465 B
import React from 'react'; import './VirtualTypes'; declare const Virtual: ({ children, style, tag, initialHeight, initialWidth, rootMargin, ...props }: VirtualProps) => React.ReactElement<{ style: object; ref: React.MutableRefObject<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 Virtual;