1.0.4 • Published 2 years ago

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

Weekly downloads
94,169
License
MIT
Repository
github
Last release
2 years 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.

decoupled-front-endpucomponents8pucomponents16@joey.andres/euichonky-trrsytchonky-trryst@everything-registry/sub-chunk-955swaptokenjxy-identity-popoverlayer1report-charts@wazuh/wui@truthifi/react-financial-charts-utils@treelab/gallery-view@vladimir.medina/chonky@zalastax/nolb-_types_re@tensei/euiatua-ui@irrelon/react-financial-charts-utils@grailbio/components@ainias42/react-bootstrap-mobile@edhos/ui@ilyaspalinor/pennantubeswap-swap-devtrendfi-charts@bannv/eui-latest@brightlever/chonky@bsfishy/oui@carrot-kpi/uiwazuh-wui@infinitebrahmanuniverse/nolb-_types_re@lanyun_cd/elastic_ui@lanyun_cd/eui@ldellaquila/eagleswap@ldellaquila/interface@muusa/eui@kobra-dev/better-react-spreadsheet@randomnerd/eui@pyroswap/dex@samuelncui/chonky@pjfitzgibbons/oui@petrdorg/appmf_react_componentmf_react_componentsnuchonkyparatechchonkyreact-datasheet-grid-resizepmap-glpennantpucomponents19redux-spreadsheetreact-window-infinite-scroll-simplechonky-customchonky-custom1.1chonky-navtecachonkychonky-ost-v3chonky-worksimplichonky_enhancedchonkyvoxdashcloudhedge-common-componentscmd-palcmd-pal-testcly-depth-chartcreedcustomizedelasticuiforc1dfxfe-depthfury-design-system@servabofidem/chonky@springlabs/ky0x@sudophunk/interface@svenardo/chonky@tarantool.io/tcm-uiexchange-depthfc-chonky@soroker/chonky@fabriziospadaro/chonky@markustroestler/file-explorer@arcanefinance/exchange-interface@anudit/flat-ui@ananthan-cloud/chonky-file-explorer@ivanmatiaspascual/utils@animech-public/chonky@aperturerobotics/chonky@fishbot/chart-utils@first-approval/chonky@fernando.lopes/chonky@northlight/ui@ashleyhyper/chonky@epallinone/chonky@daiver/react-financial-charts-utils@ones-design/transfer@ones-design/user@ones-design/core@doingfr/chonky@mhaz42/chonky@mgfx/analyzer-gui-common@dotien/chonky@opensearch-staging/oui@githubocto/flat-ui
1.0.4

2 years ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

4 years ago

1.0.0

7 years ago