feat: typing on ios devices #286
parent
acdd107544
commit
8cf2b19d3d
@ -1,2 +1,5 @@
|
|||||||
export const isApple =
|
export const isApple =
|
||||||
typeof navigator !== 'undefined' && /Mac OS X/.test(navigator.userAgent)
|
typeof navigator !== 'undefined' && /Mac OS X/.test(navigator.userAgent)
|
||||||
|
|
||||||
|
export const isIOS =
|
||||||
|
typeof navigator !== 'undefined' && /iPad|iPhone/.test(navigator.userAgent)
|
||||||
|
|||||||
Loading…
Reference in new issue