Product
Introducing Java Support in Socket
We're excited to announce that Socket now supports the Java programming language.
@types/react-virtualized-auto-sizer
Advanced tools
TypeScript definitions for react-virtualized-auto-sizer
npm install --save @types/react-virtualized-auto-sizer
This package contains type definitions for react-virtualized-auto-sizer (https://github.com/bvaughn/react-virtualized-auto-sizer/).
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 {
/** 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> {}
These definitions were written by Hidemi Yukita.
FAQs
TypeScript definitions for react-virtualized-auto-sizer
The npm package @types/react-virtualized-auto-sizer receives a total of 363,384 weekly downloads. As such, @types/react-virtualized-auto-sizer popularity was classified as popular.
We found that @types/react-virtualized-auto-sizer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We're excited to announce that Socket now supports the Java programming language.
Security News
Socket detected a malicious Python package impersonating a popular browser cookie library to steal passwords, screenshots, webcam images, and Discord tokens.
Security News
Deno 2.0 is now available with enhanced package management, full Node.js and npm compatibility, improved performance, and support for major JavaScript frameworks.