ant-design/components/switch/index.jsx
2015-07-08 19:47:45 +08:00

16 lines
267 B
JavaScript

var Switch = require('rc-switch');
var React = require('react');
var AntSwitch = React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-switch'
};
},
render() {
return <Switch {...this.props}/>;
}
});
module.exports = AntSwitch;