react-xedit
v0.0.1
Published
A simple utility to edit input contents in place
Downloads
1
Maintainers
Readme
react-xedit
A simple utility to edit input contents in place
Features
Light weight custom popover
Quick Start
npm install --save react-xedit or yarn add react-xedit
To use
import React from 'react'
import { EditableText, EditableCheckBox } from 'react-xedit'
let options = [
{ name: 'guacamole', checked={true}},
{ name: 'burretos', checked={false}},
{ name: 'sushi', checked={true}}
]
class Demo extends React.Component {
render() {
return(
<div>
<EditableText editable={true}>This text is editable</EditableText>
<EditableCheckBox
editable={true}
options={options}
/>
</div>
)
}
}