1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/dashboard/client/utils/index.ts
Sebastian Malton b1ff34879a cleanup Lens repo with tighter linting
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
2020-07-09 17:00:23 -04:00

22 lines
628 B
TypeScript
Executable File

// Common usage utils & helpers
export const noop = (): void => {};
export const isElectron = !!navigator.userAgent.match(/Electron/);
export * from './autobind';
export * from './cssVar';
export * from './cssNames';
export * from './eventEmitter';
export * from './downloadFile';
export * from './prevDefault';
export * from './createStorage';
export * from './interval';
export * from './debouncePromise';
export * from './copyToClipboard';
export * from './formatDuration';
export * from './camelCase';
export * from './base64';
export * from './isReactNode';
export * from './convertMemory';
export * from './convertCpu';