ant-design/components/switch/index.jsx

14 lines
231 B
React
Raw Normal View History

import Switch from 'rc-switch';
import React from 'react';
2015-07-08 19:47:45 +08:00
export default React.createClass({
2015-07-08 19:47:45 +08:00
getDefaultProps() {
return {
prefixCls: 'ant-switch'
};
},
render() {
return <Switch {...this.props}/>;
}
});