ant-design/components/switch/index.jsx

16 lines
267 B
React
Raw Normal View History

2015-07-08 19:47:45 +08:00
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;