UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

31 lines (25 loc) 988 B
import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import React from 'react'; var NavBar = function (_React$Component) { _inherits(NavBar, _React$Component); function NavBar() { _classCallCheck(this, NavBar); return _possibleConstructorReturn(this, (NavBar.__proto__ || Object.getPrototypeOf(NavBar)).apply(this, arguments)); } _createClass(NavBar, [{ key: 'componentDidMount', value: function componentDidMount() { console.warn('NavBar does not support react-native, please use react-native navigator instead. '); } }, { key: 'render', value: function render() { return null; } }]); return NavBar; }(React.Component); export default NavBar;