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

mpds-textfield-f3m

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpds-textfield-f3m

  • 1.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

MPDS logo

MpDS TextField

React component for faster and simpler web development.

Installation

MpDS TextField is available as an npm package.

// with npm
npm install mpds-textfield-f3m

Usage

Here is a quick example to get you started, it's all you need:

import * as React from "react";
import MpdsTextfield from "mpds-textfield-f3m"

function App() {
  return <MpdsTextfield labelText="Name" widthOfTextfield="250px"></MpdsTextfield>
}

ReactDOM.render(<App />, document.querySelector('#app'));
Props
NameDescriptionDefault
classes
Classes in the root of the textfield.
string
-
id
Id of the textfield.
string
-
inputLabelProps
Props applied to the InputLabel element. (Check Material UI TextField API for more information).
Partial<InputLabelProps>
-
labelText *
The label content.
string
-
placeholder
The short hint displayed in the input before the user enters a value.
string
-
onChangeInput
Callback fired when the value is changed.
((event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void)
-
defaultValueInput
The default value of the input.
string
-
widthOfTextfield
The width value of the input.
string number
200px

Yes, it's really all you need to get started! Try it in: [CodeSandbox](https://codesandbox.io/)
## License

No License. "(...) nobody else can copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation."

FAQs

Package last updated on 11 Jan 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