diff --git a/components/dropdown/index.jsx b/components/dropdown/index.jsx index 4d02998474..201f5ff5cf 100644 --- a/components/dropdown/index.jsx +++ b/components/dropdown/index.jsx @@ -3,16 +3,18 @@ var React = require('react'); var Dropdown = require('rc-dropdown'); -module.exports = React.createClass({ - getDefaultProps: function() { +var AntDropdown = React.createClass({ + getDefaultProps: function () { return { transitionName: 'slide-up', prefixCls: 'ant-dropdown' }; }, - render: function() { + render: function () { return ( ); } }); + +module.exports = AntDropdown;