From 3d07def965e17f7e9c63b2b75ea7d7086b7cbcf3 Mon Sep 17 00:00:00 2001 From: Ruben Date: Mon, 4 Apr 2016 16:07:21 +0200 Subject: [PATCH] Allow specification of extra style attribute for Collapsible --- Collapsible.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Collapsible.js b/Collapsible.js index 3d1b643..40f84d7 100644 --- a/Collapsible.js +++ b/Collapsible.js @@ -25,6 +25,7 @@ var Collapsible = React.createClass({ React.PropTypes.string, React.PropTypes.func ]), + style: View.propTypes.style, }, getDefaultProps() : Object { @@ -117,7 +118,7 @@ var Collapsible = React.createClass({ }]; } return ( - + {this.props.children}