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

1.0.37 • Public • Published

Installation

npm install --save @types/react-holder

Summary

This package contains type definitions for react-holder (https://github.com/Moeriki/react-holder).

Details

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

index.d.ts

/// <reference types="react"/>

import * as React from "react";

interface ReactHolderProp extends React.HTMLAttributes<ReactHolder> {
    width: string | number;
    height: string | number;
    updateOnResize: boolean;

    // config args
    theme?: string | undefined;
    random?: boolean | undefined;
    bg?: string | undefined;
    fg?: string | undefined;
    text?: string | undefined;
    size?: number | undefined;
    font?: string | undefined;
    align?: string | undefined;
    outline?: boolean | undefined;
    lineWrap?: number | undefined;
}

declare class ReactHolder extends React.Component<ReactHolderProp> {
}
export default ReactHolder;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Isman Usoh.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-holder

Weekly Downloads

14

Version

1.0.37

License

MIT

Unpacked Size

3.97 kB

Total Files

5

Last publish

Collaborators

  • types