mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
4
packages/react/src/utils/HTMLElementSSR.ts
Normal file
4
packages/react/src/utils/HTMLElementSSR.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export const HTMLElementSSR = (
|
||||
typeof HTMLElement !== 'undefined'
|
||||
? HTMLElement
|
||||
: class {}) as typeof HTMLElement;
|
Reference in New Issue
Block a user