UNPKG

@atlaskit/global-search

Version:

A cross-product search component (batteries included)

24 lines (21 loc) 644 B
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; import _createClass from "@babel/runtime/helpers/createClass"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; export var SearchScreenCounter = /*#__PURE__*/function () { function SearchScreenCounter() { _classCallCheck(this, SearchScreenCounter); _defineProperty(this, "count", 1); } _createClass(SearchScreenCounter, [{ key: "getCount", value: function getCount() { return this.count; } }, { key: "increment", value: function increment() { this.count++; } }]); return SearchScreenCounter; }();