Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-edit-text
Advanced tools
This is an editable text component for React. Simply click on the text to edit!
Made with ❤️ by Brian Min
Feel free to check out the live demo
npm install react-edit-text --save
import React, { Component } from 'react'
import EditText from 'react-edit-text'
import 'react-edit-text/dist/index.css'
class Example extends Component {
render() {
return <EditText name="inputName"></EditText>
}
}
Prop | Type | Required | Default | Note |
---|---|---|---|---|
id | string | No | HTML id attribute | |
type | string | No | text | HTML input type |
name | string | No | '' | HTML name attribute |
className | string | No | HTML class attribute | |
value | string | No | '' | Value of the input and text content |
placeholder | string | No | '' | Placeholder value |
onSave | function | No | Callback function triggered when input is saved | |
inline | bool | No | false | Sets inline display |
style | object | No | Sets CSS style of input and text component |
Contributions are very much appreciated and welcome. Please refer to the contributing guidelines for more details.
MIT © Brian Min
FAQs
Simple editable text component for React
We found that react-edit-text demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.