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

mpds-add-field

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpds-add-field

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

MPDS logo

MpDS Add-Field

React component for faster and simpler web development.

Installation

MpDS Add-Field is available as an [npm package](npm i mpds-add-field).

// with npm
npm i mpds-add-field

Usage

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

import * as React from "react";
import MpdsAddField from "mpds-add-field"

function App() {
  return <MpdsAddField colorOfTheButton="primary"></MpdsAddField>
}

ReactDOM.render(<App />, document.querySelector('#app'));
Props
NameDescriptionDefault
onAddClick
OnClick in the plus button
any
-
disableButton
Disable plus button
boolean
-
onChangeTextfield
onChange of the input
any
-
colorOfTheButton
Color given to the button
"primary" "secondary" "inherit" "default"
-

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 12 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