feat: Popup component

This commit is contained in:
chenjiahan
2020-07-06 14:58:38 +08:00
parent 2a41dcf58e
commit 57e035bb26
19 changed files with 1124 additions and 134 deletions

View File

@@ -4,6 +4,8 @@ export { createNamespace } from './create';
// eslint-disable-next-line @typescript-eslint/no-empty-function
export function noop() {}
export const inBrowser = typeof window !== 'undefined'
export function isDef(val: unknown): boolean {
return val !== undefined && val !== null;
}