material-ui-editor
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Material UI Editor

JavaScript Style Guide

Example

Example

Installation

npm install material-ui-editor

Usage

import Editor from 'material-ui-editor'
 
// ...
 
render() {
  return (
    <div>
      //...
      <Editor content={"<h1>Lorem Ipsum</h1>"}
              onChange={(event)=>{}}/>
    </div>
  )
}

Material UI Image Properties

Name Type Default Description
content string '' HTML or a text string as an input
onChange* func onChange handler of the Editor.
editorStyle object { minHeight: 300, maxHeight: 350, overflowY: 'scroll', outline: 'none' } Override the editorStyle style.

* required property

License

The files included in this repository are licensed under the MIT license.

Package Sidebar

Install

npm i material-ui-editor

Weekly Downloads

39

Version

1.0.6

License

MIT

Unpacked Size

26.4 kB

Total Files

16

Last publish

Collaborators

  • mehulcse