mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +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 (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<p style={{ marginBottom: '20px' }}>
|
<p style={{ marginBottom: '20px' }}>
|
||||||
<Checkbox checked={this.state.checked}
|
<Checkbox
|
||||||
|
checked={this.state.checked}
|
||||||
disabled={this.state.disabled}
|
disabled={this.state.disabled}
|
||||||
onChange={this.onChange}
|
onChange={this.onChange}
|
||||||
>
|
>
|
||||||
|
@ -22,6 +22,7 @@ function onChange(dates, dateStrings) {
|
|||||||
console.log('From: ', dates[0], ', to: ', dates[1]);
|
console.log('From: ', dates[0], ', to: ', dates[1]);
|
||||||
console.log('From: ', dateStrings[0], ', to: ', dateStrings[1]);
|
console.log('From: ', dateStrings[0], ', to: ', dateStrings[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<div>
|
<div>
|
||||||
<RangePicker
|
<RangePicker
|
||||||
|
@ -75,7 +75,9 @@ class App extends React.Component {
|
|||||||
>
|
>
|
||||||
Reload
|
Reload
|
||||||
</Button>
|
</Button>
|
||||||
<span style={{ marginLeft: 8 }}>{hasSelected ? `Selected ${selectedRowKeys.length} items` : ''}</span>
|
<span style={{ marginLeft: 8 }}>
|
||||||
|
{hasSelected ? `Selected ${selectedRowKeys.length} items` : ''}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<Table rowSelection={rowSelection} columns={columns} dataSource={data} />
|
<Table rowSelection={rowSelection} columns={columns} dataSource={data} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -109,7 +109,7 @@
|
|||||||
"eslint-plugin-babel": "^4.0.0",
|
"eslint-plugin-babel": "^4.0.0",
|
||||||
"eslint-plugin-import": "^2.2.0",
|
"eslint-plugin-import": "^2.2.0",
|
||||||
"eslint-plugin-jsx-a11y": "^5.0.1",
|
"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-plugin-react": "^7.0.1",
|
||||||
"eslint-tinker": "^0.4.0",
|
"eslint-tinker": "^0.4.0",
|
||||||
"fetch-jsonp": "^1.0.3",
|
"fetch-jsonp": "^1.0.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user