@aliretail/react-materials-components
Version:
21 lines (15 loc) • 520 B
JavaScript
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
var _dec, _class;
import { Component } from 'react';
import { layout } from "../../factory";
export var Nav = (_dec = layout('Nav', 'nav'), _dec(_class = /*#__PURE__*/function (_Component) {
_inheritsLoose(Nav, _Component);
function Nav() {
return _Component.apply(this, arguments) || this;
}
var _proto = Nav.prototype;
_proto.render = function render() {
return this.props.children;
};
return Nav;
}(Component)) || _class);