import React from 'react';

const Button = ({ className = 'test', type = 'button' }) => ((
  <button
    className={className}
    type={type}
  >
    Follow Me
  </button>
));

Button.propTypes = {
  className: React.PropTypes.string,
  /* HTML native button types */
  type: React.PropTypes.oneOf(['submit', 'button', 'reset']),
};

export default Button;

@@ -5,16 +5,31 @@
 rt React
+, %7B PropTypes %7D
  from 'r
@@ -89,16 +89,26 @@
 'button'
+, children
  %7D) =%3E (
@@ -173,17 +173,20 @@
     
-Follow Me
+%7B children %7D
 %0A  %3C
@@ -233,22 +233,16 @@
 ssName: 
-React.
 PropType
@@ -296,14 +296,8 @@
 pe: 
-React.
 Prop
@@ -340,16 +340,55 @@
 set'%5D),%0A
+  children: PropTypes.node.isRequired,%0A
 %7D;%0A%0Aexpo

improve button component