mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix typo
This commit is contained in:
parent
c28020708f
commit
176b9f9083
@ -21,7 +21,7 @@ const App = () => (
|
|||||||
<div>
|
<div>
|
||||||
<Pagination defaultCurrent={1} total={50} showSizeChanger />
|
<Pagination defaultCurrent={1} total={50} showSizeChanger />
|
||||||
</div>
|
</div>
|
||||||
};
|
);
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<LocaleProvider locale={enUS}>
|
<LocaleProvider locale={enUS}>
|
||||||
|
@ -35,7 +35,7 @@ class App extends React.Component {
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
|
|
||||||
ReactDOM.render(<App />, mountNode);
|
ReactDOM.render(<App />, mountNode);
|
||||||
````
|
````
|
||||||
|
@ -44,7 +44,7 @@ class Sider extends React.Component {
|
|||||||
}
|
}
|
||||||
this.setState({ openKeys: nextOpenKeys });
|
this.setState({ openKeys: nextOpenKeys });
|
||||||
}
|
}
|
||||||
getAncestorKeys(key) {
|
getAncestorKeys = (key) => {
|
||||||
const map = {
|
const map = {
|
||||||
sub3: ['sub2'],
|
sub3: ['sub2'],
|
||||||
};
|
};
|
||||||
|
@ -48,5 +48,5 @@ class App extends React.Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ReactDOM.render(<MyProgress />, mountNode);
|
ReactDOM.render(<App />, mountNode);
|
||||||
````
|
````
|
||||||
|
Loading…
Reference in New Issue
Block a user