@types/react-textfit
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Installation

npm install --save @types/react-textfit

Summary

This package contains type definitions for react-textfit (https://github.com/malte-wessel/react-textfit).

Details

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

index.d.ts

import * as React from "react";

export interface TextfitProps extends React.HTMLAttributes<HTMLDivElement> {
    mode?: "single" | "multi";
    forceSingleModeWidth?: boolean;
    min?: number;
    max?: number;
    throttle?: number;
    onReady?: (fontSize: number) => void;
}

export function Textfit(props: TextfitProps): React.JSX.Element;

Additional Details

  • Last updated: Wed, 06 Dec 2023 06:36:35 GMT
  • Dependencies: @types/react

Credits

These definitions were written by yongtheskill.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.47,056ts5.7
1.1.47,056ts5.6
1.1.47,056latest
1.1.47,056ts4.6
1.1.47,056ts4.7
1.1.47,056ts4.8
1.1.47,056ts4.9
1.1.47,056ts5.0
1.1.47,056ts5.1
1.1.47,056ts5.2
1.1.47,056ts5.3
1.1.47,056ts5.4
1.1.47,056ts5.5
1.1.47,056ts5.8
1.1.03,576ts3.8
1.1.03,576ts3.9
1.1.03,576ts4.0
1.1.03,576ts4.1
1.1.03,576ts4.2
1.1.03,576ts4.3
1.1.03,576ts4.4
1.1.3181ts4.5

Version History

VersionDownloads (Last 7 Days)Published
1.1.47,056
1.1.3181
1.1.265
1.1.172
1.1.03,576

Package Sidebar

Install

npm i @types/react-textfit

Weekly Downloads

8,754

Version

1.1.4

License

MIT

Unpacked Size

3.36 kB

Total Files

5

Last publish

Collaborators

  • types