Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@doodle/components / src / components / controls / Input / InputLabel.js
Size: Mime:
import React, { Component } from 'react';
import PropTypes from 'prop-types';

class InputLabel extends Component {
  static propTypes = {
    children: PropTypes.any,
  };
  static defaultProps = {
    children: null,
  };

  render() {
    const { children } = this.props;
    return <label className="Input-label">{children}</label>;
  }
}

export default InputLabel;