Browse Source

Spell deprecated correctly.

pull/1322/head
Bruce Mitchener 9 years ago
parent
commit
0a4bcfa1a7
  1. 2
      components/popover/index.jsx
  2. 2
      components/queue-anim/index.jsx

2
components/popover/index.jsx

@ -48,7 +48,7 @@ export default class Popover extends React.Component {
componentDidMount() { componentDidMount() {
if ('overlay' in this.props) { 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.');
} }
} }

2
components/queue-anim/index.jsx

@ -4,7 +4,7 @@ import warning from 'warning';
export default class QueueAnim extends React.Component { export default class QueueAnim extends React.Component {
componentDidMount() { componentDidMount() {
warning(false, '`QueueAnim` is deperated, ' + warning(false, '`QueueAnim` is deprecated, ' +
'you can import QueueAnim from \'rc-queue-anim\' directly.' + 'you can import QueueAnim from \'rc-queue-anim\' directly.' +
'The Demo will be moved to http://motion.ant.design/#/component/queue-anim'); 'The Demo will be moved to http://motion.ant.design/#/component/queue-anim');
} }

Loading…
Cancel
Save