How to use the muicss/react.Textarea function in muicss

To help you get started, we’ve selected a few muicss examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gaoxiaoliangz / readr / assets / built / js / es5 / containers / AddBook.js View on Github external
{ className: 'book-name' },
              book.title
            ),
            _react2.default.createElement(
              'div',
              { className: 'book-author' },
              '作者:',
              book.author[0]
            ),
            _react2.default.createElement(
              _react3.Button,
              { onClick: this.removeResult.bind(this), className: 'mui--z1' },
              '重新选择'
            )
          ) : null,
          _react2.default.createElement(_react3.Textarea, { hint: '粘贴书籍的全部文本内容', style: { height: 200 }, name: 'book_content', ref: 'bookContent' }),
          _react2.default.createElement(
            _react3.Button,
            { onClick: this.handleAddBook.bind(this), variant: 'raised' },
            '确认添加'
          )
        )
      );
    }
  }]);
github gaoxiaoliangz / readr / modules_es5 / containers / add-book.js View on Github external
_react2.default.createElement(_branding2.default, null),
        _react2.default.createElement(
          _react3.Container,
          null,
          _react2.default.createElement(
            _react3.Form,
            { className: 'content-container', action: '#', method: 'post' },
            _react2.default.createElement(
              'h1',
              { className: 'page-title' },
              '添加书籍'
            ),
            _react2.default.createElement(_react3.Input, { onChange: this.handleInputChange.bind(this), value: this.state.bookName, name: 'bookName', label: '书名', floatingLabel: true }),
            _react2.default.createElement(_react3.Input, { onChange: this.handleInputChange.bind(this), value: this.state.author, name: 'author', label: '作者', floatingLabel: true }),
            _react2.default.createElement(_react3.Input, { onChange: this.handleInputChange.bind(this), value: this.state.cover, name: 'cover', label: '封面', floatingLabel: true }),
            _react2.default.createElement(_react3.Textarea, { style: { height: 200 }, onChange: this.handleInputChange.bind(this), value: this.state.bookContent, name: 'bookContent', label: '书籍内容', floatingLabel: true }),
            _react2.default.createElement(
              _react3.Button,
              { onClick: this.handleAddBook.bind(this), variant: 'raised' },
              '确认添加'
            )
          )
        )
      );
    }
  }]);
github gaoxiaoliangz / readr / assets / built / js / es5 / containers / add-book.js View on Github external
_react2.default.createElement('img', { src: book.image }),
                  _react2.default.createElement(
                    'div',
                    { className: 'book-name' },
                    book.title
                  ),
                  _react2.default.createElement(
                    'div',
                    { className: 'book-author' },
                    book.author[0]
                  )
                );
              }
            }(),
            _react2.default.createElement(_react3.Input, { onChange: this.handleInputChange.bind(this), value: this.state.doubanItemId, name: 'doubanItemId', label: '豆瓣条目 ID ', floatingLabel: false }),
            _react2.default.createElement(_react3.Textarea, { style: { height: 200 }, onChange: this.handleInputChange.bind(this), value: this.state.bookContent, name: 'bookContent', label: '书籍内容', floatingLabel: false }),
            _react2.default.createElement(
              _react3.Button,
              { onClick: this.handleAddBook.bind(this), variant: 'raised' },
              '确认添加'
            )
          )
        )
      );
    }
  }]);

muicss

Lightweight CSS framework based on Google's Material Design guidelines

MIT
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis