@ -4,10 +4,6 @@
---
````html
<div id="example"></div>
````
````js
/** @jsx React.DOM */
var Button = React.createClass({
@ -16,6 +12,7 @@ var Button = React.createClass({
}
});
React.render(<Button>失效的按钮</Button>, document.getElementById('example'));
React.render(
<Button>失效的按钮</Button>
, document.getElementById('components-button-demo-disabled'));
@ -1011,7 +1011,7 @@ footer ul li > a {
width: 100%;
.code-box .nico-insert-code {
.code-box .code-box-demo {
padding: 50px 25px;
border-bottom: 1px solid #ddd;
@ -1,5 +1,8 @@
<div class="code-box">
{{ post.html|jsx }}
<div class="code-box-demo">
<div id="{{post.meta.id}}"></div>
</div>
<div class="code-box-meta">
<div class="code-box-title">{{ post.title }}</div>
<p class="code-box-description">