style: update code style to please lint

This commit is contained in:
Benjy Cui 2016-06-19 09:55:03 +08:00
parent 209e3c1f9d
commit 49b944617c
3 changed files with 10 additions and 5 deletions

View File

@ -151,13 +151,16 @@ let Demo = React.createClass({
>
<Checkbox {...getFieldProps('eat', {
valuePropName: 'checked',
})}>吃饭饭</Checkbox>
})}
>吃饭饭</Checkbox>
<Checkbox {...getFieldProps('sleep', {
valuePropName: 'checked',
})}>睡觉觉</Checkbox>
})}
>睡觉觉</Checkbox>
<Checkbox {...getFieldProps('beat', {
valuePropName: 'checked',
})}>打豆豆</Checkbox>
})}
>打豆豆</Checkbox>
</FormItem>
<FormItem

View File

@ -93,7 +93,8 @@ export default class Demo extends React.Component {
<pre>
<code className="css" dangerouslySetInnerHTML={{
__html: highlightedStyle,
}} />
}}
/>
</pre>
</div> :
null

View File

@ -10,7 +10,8 @@ export default function NotFound() {
</section>
<style dangerouslySetInnerHTML={{
__html: '#react-content { height: 100%; background-color: #fff }',
}} />
}}
/>
</div>
);
}