Comparing version 0.6.10 to 0.6.12
@@ -18,3 +18,7 @@ import React from "react"; | ||
{children.map(function (btn, i) { | ||
return <div key={i} style={{width:100/children.length+"%"}}>{btn}</div>; | ||
return ( | ||
<div key={i} className={btn.props.disabled && styles.disabled} style={{width:100/children.length+"%"}}> | ||
{btn} | ||
</div> | ||
); | ||
})} | ||
@@ -21,0 +25,0 @@ </div> |
{ | ||
"name": "fengui", | ||
"version": "0.6.10", | ||
"version": "0.6.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/fengjr", |
Sorry, the diff of this file is not supported yet
322780
5730