Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

selectors.ts

16 lines544 Bytes

1export type TabId = 'plugins' | 'seo' | 'settings'
2​
3export const SELECTORS = {
4 /** The trigger button is selected by its accessible name. */
5 triggerName: 'Open TanStack Devtools',
6 mainPanel: 'tsd-main-panel',
7 resizeHandle: 'tsd-resize-handle',
8 pipButton: 'tsd-pip-button',
9 closeButton: 'tsd-close-button',
10 tab: (id: TabId) => `tsd-tab-${id}`,
11 // event-probe plugin
12 probePanel: 'tsd-probe-panel',
13 probeEmitButton: 'tsd-probe-emit',
14 probeEventRow: 'tsd-probe-event-row',
15 probeServerRow: 'tsd-probe-server-row',
16} as const