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', { <Checkbox {...getFieldProps('eat', {
valuePropName: 'checked', valuePropName: 'checked',
})}>吃饭饭</Checkbox> })}
>吃饭饭</Checkbox>
<Checkbox {...getFieldProps('sleep', { <Checkbox {...getFieldProps('sleep', {
valuePropName: 'checked', valuePropName: 'checked',
})}>睡觉觉</Checkbox> })}
>睡觉觉</Checkbox>
<Checkbox {...getFieldProps('beat', { <Checkbox {...getFieldProps('beat', {
valuePropName: 'checked', valuePropName: 'checked',
})}>打豆豆</Checkbox> })}
>打豆豆</Checkbox>
</FormItem> </FormItem>
<FormItem <FormItem

View File

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

View File

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