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.
import * as React from "react";
export interface Size {
height: number;
width: number;
}
export interface AutoSizerProps {
children: (size: Size) => React.ReactNode;
className?: string | undefined;
defaultHeight?: number | undefined;
defaultWidth?: number | undefined;
disableHeight?: boolean | undefined;
disableWidth?: boolean | undefined;
nonce?: string | undefined;
onResize?: ((size: Size) => void) | undefined;
style?: React.CSSProperties | undefined;
}
export default class extends React.Component<AutoSizerProps> {}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Hidemi Yukita.