style: update code style to please lint

This commit is contained in:
Benjy Cui 2016-06-19 10:57:28 +08:00
parent 09bbd51551
commit 5a4805d691
3 changed files with 5 additions and 10 deletions

View File

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

View File

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