text: import*as tslib_1 from"tslib";import"../../CommonImports";import"../../Core/core.css";import"./Tabs.css";import*as React from"react";import{Observer}from"../../Observer";export var TabGroupProviderContext=React.createContext({groups:[]});var TabGroupProvider=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return tslib_1.__extends(e,r),e.prototype.render=function(){var r=this;return React.createElement(Observer,{groups:this.props.providers},function(e){var t=e.groups.sort(function(r,e){return(r.order||100)-(e.order||100)});return React.createElement(TabGroupProviderContext.Provider,{value:{groups:t}},r.props.children)})},e}(React.Component);export{TabGroupProvider};