UNPKG

@redux-devtools/rtk-query-monitor

Version:
22 lines 721 B
import React, { PureComponent } from 'react'; import { QueryPreviewTabs } from '../types'; import { renderTabPanelButtonId, renderTabPanelId } from '../utils/a11y'; import { TreeView } from './TreeView'; import { jsx as ___EmotionJSX } from "@emotion/react"; const rootProps = { 'aria-labelledby': renderTabPanelButtonId(QueryPreviewTabs.querySubscriptions), id: renderTabPanelId(QueryPreviewTabs.querySubscriptions), role: 'tabpanel' }; export class QueryPreviewSubscriptions extends PureComponent { render() { const { subscriptions } = this.props; return ___EmotionJSX(TreeView, { rootProps: rootProps, data: subscriptions, isWideLayout: this.props.isWideLayout }); } }