Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/react-virtualized-auto-sizer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
npm install --save @types/react-virtualized-auto-sizer
Summary
This package contains type definitions for react-virtualized-auto-sizer (https://github.com/bvaughn/react-virtualized-auto-sizer/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized-auto-sizer.
index.d.ts
import * as React from "react";
export interface Size {
height: number;
width: number;
}
export interface AutoSizerProps {
/** Function responsible for rendering children. */
children: (size: Size) => React.ReactNode;
/** Optional custom CSS class name to attach to root AutoSizer element. */
className?: string | undefined;
/** Default height to use for initial render; useful for SSR */
defaultHeight?: number | undefined;
/** Default width to use for initial render; useful for SSR */
defaultWidth?: number | undefined;
/** Disable dynamic :height property */
disableHeight?: boolean | undefined;
/** Disable dynamic :width property */
disableWidth?: boolean | undefined;
/** Nonce of the inlined stylesheet for Content Security Policy */
nonce?: string | undefined;
/** Callback to be invoked on-resize */
onResize?: ((size: Size) => void) | undefined;
/** Optional inline style */
style?: React.CSSProperties | undefined;
}
export default class extends React.Component<AutoSizerProps> {}
Additional Details
- Last updated: Tue, 12 Dec 2023 19:06:50 GMT
- Dependencies: @types/react
Credits
These definitions were written by Hidemi Yukita.