Browse Source

style: update code style to please lint

pull/2091/merge
Benjy Cui 9 years ago
parent
commit
49b944617c
  1. 9
      components/form/demo/validate-other.md
  2. 3
      site/theme/template/Content/Demo.jsx
  3. 3
      site/theme/template/NotFound.jsx

9
components/form/demo/validate-other.md

@ -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

3
site/theme/template/Content/Demo.jsx

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

3
site/theme/template/NotFound.jsx

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

Loading…
Cancel
Save