1.0.4 • Published 5 months ago

@types/react-virtualized-auto-sizer v1.0.4

Weekly downloads
94,169
License
MIT
Repository
github
Last release
5 months ago

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

// Type definitions for react-virtualized-auto-sizer 1.0
// Project: https://github.com/bvaughn/react-virtualized-auto-sizer/
// Definitions by: Hidemi Yukita <https://github.com/otofu-square>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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: Wed, 07 Jul 2021 18:31:49 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Hidemi Yukita.

baseuidecoupled-front-endpucomponents8pucomponents16@joey.andres/euichonky-trrsytchonky-trryst@everything-registry/sub-chunk-955@edhos/uiwazuh-wui@fabriziospadaro/chonky@epallinone/chonkyubeswap-swap-dev@irrelon/react-financial-charts-utils@infinitebrahmanuniverse/nolb-_types_reswaptokencloudhedge-common-componentscmd-palcmd-pal-testredux-spreadsheetcly-depth-chart@opensearch-project/oui@opensearch-staging/oui@mgfx/analyzer-gui-common@mhaz42/chonky@mhaz42/react-chonky@lanyun_cd/elastic_ui@lanyun_cd/eui@muusa/eui@elumeo/jfs-core@fishbot/chart-utils@githubocto/flat-ui@first-approval/chonky@grailbio/components@petrdorg/app@ilyaspalinor/pennant@daiver/react-financial-charts-utilschonkychonky-customchonky-custom1.1chonky-navtecachonky-ost-v3chonky-worksimplichonky_enhancedchonkyvoxdashnuchonkyparatechchonkypmap-glcreedcustomizedelasticuiforc1pucomponents19react-datasheet-grid-resizepennant@northlight/ui@samuelncui/chonky@randomnerd/eui@pjfitzgibbons/oui@pyroswap/dex@wazuh/wui@treelab/gallery-view@sudophunk/interface@ldellaquila/eagleswap@ldellaquila/interface@soroker/chonky@tensei/eui@svenardo/chonky@tarantool.io/tcm-ui@truthifi/react-financial-charts-utils@springlabs/ky0x@kobra-dev/better-react-spreadsheet@ananthan-cloud/chonky-file-explorer@aperturerobotics/chonkyfury-design-system@animech-public/chonky@anudit/flat-ui@ashleyhyper/chonky@zalastax/nolb-_types_refc-chonky@ainias42/react-bootstrap-mobile@arcanefinance/exchange-interface@bannv/eui-latestatua-ui@bsfishy/ouimf_react_componentmf_react_components@carrot-kpi/ui@brightlever/chonky
1.0.4

5 months ago

1.0.2

6 months ago

1.0.3

6 months ago

1.0.1

3 years ago

1.0.0

5 years ago