Sha256: 284ba778139d174a7f907247c4772778a0ccc88226f93b4d5203bba8d0a1d0fb

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

import React from 'react';

export default class Input extends React.Component {
    static mixins = [
        Hippo.Components.Form.InputFieldMixin
    ];
    renderInputField(props, handlers) {
        return (
            <BS.FormControl
                type={this.props.type || 'text'}
                {...props}
                {...handlers}
                onChange={this.fieldMixinSetValue} />
        );
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

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