mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
style: update code style to please lint
This commit is contained in:
parent
209e3c1f9d
commit
49b944617c
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user