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 / Button / ButtonLabel.js
Size: Mime:
import React, { Component } from 'react';
import PropTypes from 'prop-types';

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

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

export default ButtonLabel;