mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
Merge pull request #1322 from waywardmonkeys/spelling
Spell deprecated correctly.
This commit is contained in:
commit
c2fefbd999
@ -48,7 +48,7 @@ export default class Popover extends React.Component {
|
||||
|
||||
componentDidMount() {
|
||||
if ('overlay' in this.props) {
|
||||
warning(false, '`overlay` prop of Popover is deperated, use `content` instead.');
|
||||
warning(false, '`overlay` prop of Popover is deprecated, use `content` instead.');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ import warning from 'warning';
|
||||
|
||||
export default class QueueAnim extends React.Component {
|
||||
componentDidMount() {
|
||||
warning(false, '`QueueAnim` is deperated, ' +
|
||||
warning(false, '`QueueAnim` is deprecated, ' +
|
||||
'you can import QueueAnim from \'rc-queue-anim\' directly.' +
|
||||
'The Demo will be moved to http://motion.ant.design/#/component/queue-anim');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user