Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-maskedinput

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-maskedinput

TypeScript definitions for react-maskedinput

  • 4.0.5
  • ts3.6
  • ts3.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23K
increased by7.28%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/react-maskedinput

Summary

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

Details

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

index.d.ts

// Type definitions for react-maskedinput 4.0
// Project: https://github.com/insin/react-maskedinput
// Definitions by: Karol Janyst <https://github.com/LKay>
//                 Adam Lavin <https://github.com/lavoaster>
//                 Carlos Bonetti <https://github.com/CarlosBonetti>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as React from "react";

export interface FormatCharacter {
    validate(char: string): string;
    transform?(char: string): string;
}

export interface CharsFormatters {
  [char: string]: FormatCharacter;
}

export interface MaskedInputProps extends React.InputHTMLAttributes<any> {
  mask: string;
  formatCharacters?: CharsFormatters | undefined;
  placeholderChar?: string | undefined;
}

declare class MaskedInput extends React.Component<MaskedInputProps> {}
export default MaskedInput;

Additional Details

  • Last updated: Thu, 08 Jul 2021 20:20:54 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Karol Janyst, Adam Lavin, and Carlos Bonetti.

FAQs

Package last updated on 08 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc