npm.io
1.1.6 • Published 1 year ago

@types/react-column-resizer

Licence
MIT
Version
1.1.6
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/react-column-resizer

Summary

This package contains type definitions for react-column-resizer (https://github.com/nik-m2/react-column-resizer#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-column-resizer.

index.d.ts

import { Component } from "react";

declare namespace ColumnResizer {
    interface ResizerProps {
        /**
         * Any custom classes.
         * If set, default width and backgroundColor styles will not be applied.
         *
         * @default ""
         */
        className?: string | undefined;

        /**
         * Set to true if you want to disable resizing
         *
         * @default false
         */
        disabled?: boolean | undefined;

        /**
         * The minimum width for the columns (in pixels)
         *
         * @default 0
         */
        minWidth?: number | undefined;
    }
}

declare class ColumnResizer extends Component<ColumnResizer.ResizerProps> {}

export = ColumnResizer;

Additional Details

  • Last updated: Fri, 18 Oct 2024 2043 GMT
  • Dependencies: @types/react

Credits

These definitions were written by ibrahim.