docs : set select width to fit its container (#1775)

This commit is contained in:
Eric 2016-05-19 16:32:41 +08:00 committed by Benjy Cui
parent 57e5b4f382
commit 8ba9f0be54

View File

@ -20,7 +20,7 @@ function handleChange(value) {
ReactDOM.render(
<Select multiple
style={{ width: 400 }}
style={{ width: '100%' }}
placeholder="Please select"
defaultValue={['a10', 'c12']} onChange={handleChange}>
{children}