mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
docs : set select width to fit its container (#1775)
This commit is contained in:
parent
57e5b4f382
commit
8ba9f0be54
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user