demo id 修改
This commit is contained in:
parent
ee40debbbe
commit
3a81b98cf0
|
@ -40,7 +40,7 @@ class Demo extends Component {
|
|||
</div>
|
||||
);
|
||||
return (
|
||||
<Col md={12} >
|
||||
<Col md={12} id={title.trim()} >
|
||||
<h3>{ title }</h3>
|
||||
<p>{ desc }</p>
|
||||
<Panel copyable collapsible headerContent expanded={ this.state.open } colors='bordered' header={ header } footerStyle = {{padding: 0}}>
|
||||
|
|
|
@ -41,7 +41,7 @@ class Demo extends Component {
|
|||
</div>
|
||||
);
|
||||
return (
|
||||
<Col md={12} >
|
||||
<Col md={12} id={title.trim()} >
|
||||
<h3>{ title }</h3>
|
||||
<p>{ desc }</p>
|
||||
<Panel copyable collapsible headerContent expanded={ this.state.open } colors='bordered' header={ header } footerStyle = {{padding: 0}}>
|
||||
|
|
|
@ -95,4 +95,4 @@
|
|||
"react-addons-test-utils": "^15.5.0",
|
||||
"react-dom": "^16.6.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue