demo id 修改

This commit is contained in:
liushaozhen 2019-03-18 17:26:19 +08:00
parent ee40debbbe
commit 3a81b98cf0
3 changed files with 3 additions and 3 deletions

View File

@ -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}}>

View File

@ -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}}>