aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/ValueEditor.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/ValueEditor.jsx')
-rwxr-xr-xweb/src/js/components/ValueEditor.jsx26
1 files changed, 0 insertions, 26 deletions
diff --git a/web/src/js/components/ValueEditor.jsx b/web/src/js/components/ValueEditor.jsx
deleted file mode 100755
index 5f1bf2dc..00000000
--- a/web/src/js/components/ValueEditor.jsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import React, { Component, PropTypes } from 'react'
-import ReactDOM from 'react-dom'
-import ValidateEditor from './ValueEditor/ValidateEditor'
-
-export default class ValueEditor extends Component {
-
- static propTypes = {
- content: PropTypes.string.isRequired,
- onDone: PropTypes.func.isRequired,
- inline: PropTypes.bool,
- }
-
- render() {
- var tag = this.props.inline ? 'span' : 'div'
- return (
- <ValidateEditor
- {...this.props}
- tag={tag}
- />
- )
- }
-
- focus() {
- ReactDOM.findDOMNode(this).focus();
- }
-}