From 0a4bcfa1a77acc7b7f7281737954f2743b47162b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 1 Apr 2016 22:06:38 +0700 Subject: [PATCH] Spell deprecated correctly. --- components/popover/index.jsx | 2 +- components/queue-anim/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/popover/index.jsx b/components/popover/index.jsx index 273ef1326f..4a74864712 100644 --- a/components/popover/index.jsx +++ b/components/popover/index.jsx @@ -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.'); } } diff --git a/components/queue-anim/index.jsx b/components/queue-anim/index.jsx index 2daf5cbb65..5760b47ab0 100644 --- a/components/queue-anim/index.jsx +++ b/components/queue-anim/index.jsx @@ -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'); }