fix(react): add SSR check to IonTabs (#23696)

resolves #23651
This commit is contained in:
William Martin
2021-08-02 10:28:51 -04:00
committed by GitHub
parent caf0917623
commit f2a05bed1e
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,4 @@
export const HTMLElementSSR = (
typeof HTMLElement !== 'undefined'
? HTMLElement
: class {}) as typeof HTMLElement;