@figlinq/react-chart-editor
Version:
plotly.js chart editor react component UI
2 lines • 506 B
JavaScript
import PropTypes from"prop-types";import TextArea from"../TextArea";import{jsx as _jsx}from"react/jsx-runtime";class HTML extends TextArea{render(){const{className}=this.props;const editorClassNames=className?className:"text-editor__html";return _jsx("textarea",{value:this.state.value,placeholder:this.props.placeholder,onChange:this.onChange,className:editorClassNames})}}HTML.propTypes={className:PropTypes.string};HTML.defaultProps={placeholder:""};export default HTML;
//# sourceMappingURL=HTML.js.map