UNPKG

@openshift-console/dynamic-plugin-sdk

Version:

Provides core APIs, types and utilities used by dynamic plugins at runtime.

4 lines (3 loc) 150 B
// Type Guards export const isHorizontalNavTab = (e) => e.type === 'console.tab/horizontalNav'; export const isTab = (e) => e.type === 'console.tab';