initiatived21/d21

View on GitHub
client/app/Inputs/wrappers/SelectInputWrapper.js

Summary

Maintainability
A
1 hr
Test Coverage
import React, { Component, PropTypes } from 'react'
import SelectInput from '../containers/SelectInput'

export default class SelectInputWrapper extends Component {
  static contextTypes = {
    model: PropTypes.string,
    formId: PropTypes.string,
  }

  render() {
    return <SelectInput {...this.props} {...this.context} />
  }
}