mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-26 00:26:53 +08:00
Tweak tree demo
This commit is contained in:
parent
89ce2254af
commit
ae87b663bf
@ -1040,7 +1040,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
|
|||||||
<div>
|
<div>
|
||||||
<span
|
<span
|
||||||
class="ant-input-search ant-input-affix-wrapper"
|
class="ant-input-search ant-input-affix-wrapper"
|
||||||
style="width:300px;"
|
style="margin-bottom:8px;"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
class="ant-input"
|
class="ant-input"
|
||||||
|
@ -125,7 +125,7 @@ class SearchTree extends React.Component {
|
|||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Search style={{ width: 300 }} placeholder="Search" onChange={this.onChange} />
|
<Search style={{ marginBottom: 8 }} placeholder="Search" onChange={this.onChange} />
|
||||||
<Tree
|
<Tree
|
||||||
onExpand={this.onExpand}
|
onExpand={this.onExpand}
|
||||||
expandedKeys={expandedKeys}
|
expandedKeys={expandedKeys}
|
||||||
|
Loading…
Reference in New Issue
Block a user