mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-01 21:37:06 +08:00
fix lint in demo
This commit is contained in:
parent
f93867cfc8
commit
29e54c2339
@ -26,7 +26,8 @@ class App extends React.Component {
|
||||
return (
|
||||
<div>
|
||||
<p style={{ marginBottom: '20px' }}>
|
||||
<Checkbox checked={this.state.checked}
|
||||
<Checkbox
|
||||
checked={this.state.checked}
|
||||
disabled={this.state.disabled}
|
||||
onChange={this.onChange}
|
||||
>
|
||||
|
@ -22,6 +22,7 @@ function onChange(dates, dateStrings) {
|
||||
console.log('From: ', dates[0], ', to: ', dates[1]);
|
||||
console.log('From: ', dateStrings[0], ', to: ', dateStrings[1]);
|
||||
}
|
||||
|
||||
ReactDOM.render(
|
||||
<div>
|
||||
<RangePicker
|
||||
|
@ -75,7 +75,9 @@ class App extends React.Component {
|
||||
>
|
||||
Reload
|
||||
</Button>
|
||||
<span style={{ marginLeft: 8 }}>{hasSelected ? `Selected ${selectedRowKeys.length} items` : ''}</span>
|
||||
<span style={{ marginLeft: 8 }}>
|
||||
{hasSelected ? `Selected ${selectedRowKeys.length} items` : ''}
|
||||
</span>
|
||||
</div>
|
||||
<Table rowSelection={rowSelection} columns={columns} dataSource={data} />
|
||||
</div>
|
||||
|
@ -109,7 +109,7 @@
|
||||
"eslint-plugin-babel": "^4.0.0",
|
||||
"eslint-plugin-import": "^2.2.0",
|
||||
"eslint-plugin-jsx-a11y": "^5.0.1",
|
||||
"eslint-plugin-markdown": "1.0.0-beta.4",
|
||||
"eslint-plugin-markdown": "~1.0.0-beta.4",
|
||||
"eslint-plugin-react": "^7.0.1",
|
||||
"eslint-tinker": "^0.4.0",
|
||||
"fetch-jsonp": "^1.0.3",
|
||||
|
Loading…
Reference in New Issue
Block a user