import React, { Children, PropTypes } from 'react'

export default class Provider extends React.Component {
  static propTypes = {
    styleSheet: PropTypes.object.isRequired,
    children: PropTypes.element.isRequired
  }
  static childContextTypes = {
    styleSheet: PropTypes.object.isRequired
  }

  constructor (props, ctx) {
    super(props, ctx)
    this.styleSheet = props.styleSheet
  }
  getChildContext () {
    return {styleSheet: this.styleSheet}
  }
  render () {
    return Children.only(this.props.children)
  }
}

@@ -49,29 +49,127 @@
 t'%0A%0A
-export default 
+/**%0A * Provides style sheet to its childs%0A * @param styleSheet %7BStyleSheet%7D - style sheet to pass down%0A **/%0A
 class 
+Style
 Prov
@@ -622,8 +622,38 @@
 )%0A  %7D%0A%7D%0A
+%0Aexport default StyleProvider%0A

rename Provider to StyleProvider for consistency