Sha256: bc36e3b7a4810c1dfa8f8f5ccdcecd346d87cee6969f6d13f5e8851ccba0b252

Contents?: true

Size: 596 Bytes

Versions: 5

Compression:

Stored size: 596 Bytes

Contents

import React from 'react';

export class TextArea extends React.Component {
    static mixins = [
        Hippo.Components.Form.InputFieldMixin
    ];
    renderInputField(props, handlers) {
        const export className = _.classnames(props.className, 'form-control');
        return (
            React.createElement("textarea", Object.assign({}, 
                props, 
                handlers, 
                _.pick(this.props, 'placeholder'), { 
                "export className": (className),  
                "onChange": (this.fieldMixinSetValue)
            }))
        );
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hippo-fw-0.9.5 client/hippo/components/shared/TextArea.jsx
hippo-fw-0.9.4 client/hippo/components/shared/TextArea.jsx
hippo-fw-0.9.3 client/hippo/components/shared/TextArea.jsx
hippo-fw-0.9.2 client/hippo/components/shared/TextArea.jsx
hippo-fw-0.9.1 client/hippo/components/shared/TextArea.jsx