UNPKG

sk-react-antd

Version:
17 lines (14 loc) 594 B
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } import PropTypes from 'prop-types'; import { SK } from 'sk-js'; var CommonLayout = function CommonLayout() { _classCallCheck(this, CommonLayout); }; CommonLayout.defaultProps = SK.extends(true, {}, {}, {}); CommonLayout.propTypes = SK.extends(true, {}, { //https://ant.design/components/layout-cn/#Layout className: PropTypes.string, hasSider: PropTypes.bool, style: PropTypes.object }, {}); export { CommonLayout as default };